Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
目前我面临一个场景,我在 JDBC 中打开了一个事务,然后我使用准备好的语句调用存储过程,在调用存储过程和其他一些调用后,还有一个事务及其在存储过程中的提交我提交了 JDBC交易。现在我想当外部 JDBC 事务得到 Rollback 时,存储过程的内部事务也应该是已经提交的回滚。有没有人对此有想法。感谢期待
Transaction boundary propagation across a JDBC bridge in this case is not possible. Commit is a commit like a_horse_with_no_name and and EJP mentioned.