admin 管理员组文章数量: 887021
2024年1月15日发(作者:北京最佳的it培训机构)
2018-10-30 15:21:05.964 DEBUG 10040 --- [ main] urceTransactionManager : Creating new transaction with name []: PROPAGATION_REQUIRED,ISOLATION_DEFAULT,-ion2018-10-30 15:21:06.261 INFO 10040 --- [ main] ataSource : {dataSource-1} inited2018-10-30 15:21:06.261 DEBUG 10040 --- [ main] urceTransactionManager : Acquired Connection [4Connection@60bf494c] for JDBC transaction2018-10-30 15:21:06.261 DEBUG 10040 --- [ main] urceTransactionManager : Switching JDBC Connection [4Connection@60bf494c] to manual commit2018-10-30 15:21:06.277 INFO 10040 --- [ main] ServiceImpl : start insert @@@@@@@@@@@@@@@@@2018-10-30 15:21:06.324 DEBUG 10040 --- [ main] Selective : ==> Preparing: insert into person ( id, name ) values (
, )
2018-10-30 15:21:06.355 DEBUG 10040 --- [ main] Selective : ==> Parameters: 1(Integer), one(String)2018-10-30 15:21:06.355 DEBUG 10040 --- [ main] Selective : <== Updates: 12018-10-30 15:21:06.355 DEBUG 10040 --- [ main] urceTransactionManager : Suspending current transaction, creating new transaction with name []2018-10-30 15:21:06.355 DEBUG 10040 --- [ main] urceTransactionManager : Acquired Connection [4Connection@3c81cd82] for JDBC transaction2018-10-30 15:21:06.355 DEBUG 10040 --- [ main] urceTransactionManager : Switching JDBC Connection [4Connection@3c81cd82] to manual commit2018-10-30 15:21:06.355 INFO 10040 --- [ main] OtherServiceImpl : start update
2018-10-30 15:21:06.355 DEBUG 10040 --- [ main] Selective : ==> Preparing: insert into person ( id, name ) values (
, )
2018-10-30 15:21:06.355 DEBUG 10040 --- [ main] Selective : ==> Parameters: 2(Integer), two(String)2018-10-30 15:21:06.355 DEBUG 10040 --- [ main] Selective : <== Updates: 12018-10-30 15:21:06.355 DEBUG 10040 --- [ main] urceTransactionManager : Initiating transaction rollback2018-10-30 15:21:06.355 DEBUG 10040 --- [ main] urceTransactionManager : Rolling back JDBC transaction on Connection [4Connection@3c81cd82]2018-10-30 15:21:06.386 DEBUG 10040 --- [ main] urceTransactionManager : Releasing JDBC Connection [4Connection@3c81cd82] after transaction2018-10-30 15:21:06.386 DEBUG 10040 --- [ main] urceUtils : Returning JDBC Connection to DataSource2018-10-30 15:21:06.386 DEBUG 10040 --- [ main] urceTransactionManager : Resuming suspended transaction after completion of inner transaction2018-10-30 15:21:06.386 DEBUG 10040 --- [ main] urceTransactionManager : Initiating transaction rollback2018-10-30 15:21:06.386 DEBUG 10040 --- [ main] urceTransactionManager : Rolling back JDBC transaction on Connection [4Connection@60bf494c]2018-10-30 15:21:06.386 DEBUG 10040 --- [ main] urceTransactionManager : Releasing JDBC Connection [4Connection@60bf494c] after transaction2018-10-30 15:21:06.386 DEBUG 10040 --- [ main] urceUtils : Returning JDBC Connection to eticException: / by zero
版权声明:本文标题:Spring事务传播机制Propagation.REQUIRES_NEW详解及测试 内容由网友自发贡献,该文观点仅代表作者本人, 转载请联系作者并注明出处:http://www.freenas.com.cn/free/1705272636h479273.html, 本站仅提供信息存储空间服务,不拥有所有权,不承担相关法律责任。如发现本站有涉嫌抄袭侵权/违法违规的内容,一经查实,本站将立刻删除。
发表评论