1)最基本的,方法级别上应用,例如: Java代码 @RequestMapping(value="/departments") public String simplePattern(){ System.out.println("simplePattern method was called"); return"someResult";
@Transactional(noRollbackFor=RuntimeException.class)方法事务说明@Transactional(RollbackFor=Exception.class)@Transactional(readOnly=true)@Transactional(timeout=100)@Transactional(isolation)数据库的隔离级别{ Re
Copyright © 2005-2024 51CTO.COM 版权所有 京ICP证060544号