使用 ssh框架 hibernate的save(entity)时执行到select hibernate_sequence.nextval from dual 就停了
原因:1 事务 <tx:method name="save*" propagation="REQUIRED"/> 没有没配
2 <aop:pointcut expression中的“execution(* cn.bdqn.jboa.service.*.*(..))"与项目中的路径不一致
我原来的aop是 :<aop:pointcut expression="execution(public * biz..*(..))" id="serviceMethod"/>
实际应该为:<aop:pointcut id="serviceMethod"
expression="execution(* cn.bdqn.jboa.service.*.*(..))" />
这样,就无法执行事务,无法插入数据了