Spring 手动事务
@Autowired
DataSourceTransactionManager dataSourceTransactionManager;
@Autowired
TransactionDefinition transactionDefinition;
TransactionStatus transactionStatus = null;
transactionStatus = dataSourceTransactionManager.getTransaction(transactionDefinition);
dataSourceTransactionManager.rollback(transactionStatus);
dataSourceTransactionManager.commit(transactionStatus);