Several ways to achieve spring Affairs

1. programmatic transaction management application for POJO-based is the only choice.

Related transaction management method needs to call in the code beginTransaction () commit () rollback () and so on.

 

2, based on TransactionProxyFactoryBean declarative transaction management

 

3. Based on the declarative transaction management @Transactionl

 

4. Based on the configuration transaction Aspectj AOP

Guess you like

Origin www.cnblogs.com/moonsoft/p/11855438.html