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.
假设我想在 10 个不同的表中插入记录,这应该是原子的,意味着所有插入都应该发生在所有表中,或者没有。如何在 spring jdbc 模板中维护这种事务?
<tx:annotation-driven/>
transactionManager
请参阅此处的参考资料和此处的示例。