JTA is useful not only for different database, but also for different connection to the same database.
Transaction manager manage Transaction by begin / suspend / getTransaction / setTransactionTimeout, its other methods just delegate to Transaction
Transaction then delegate call to each XAResource in list.
Can close connection before JTA transaction commit? Yes, TransactionManager will call XAResource.end() method to disassociate the transaction from that connection (but sqls sent by this connection will still in effect), and the connection may (or may not) return to connection pool.
分享到:
相关推荐
`allclasses-frame.html`和`allclasses-noframe.html`提供了所有类的快速访问入口,而`overview-summary.html`和`overview-frame.html`则是框架概述的简要介绍。 在学习这些文档时,开发者可以通过查阅这些HTML文件...
1.5. Summary 2. Architecture 2.1. Overview 2.2. Instance states 2.3. JMX Integration 2.4. JCA Support 2.5. Contextual Sessions 3. Configuration 3.1. Programmatic configuration 3.2. Obtaining a ...
10. **JTA (Java Transaction API)** 和 **JTS (Java Transaction Service)**:为分布式事务处理提供了标准接口和实现,确保在多资源操作中的数据一致性。 在提供的压缩包文件中,我们可以找到以下文档: - `...
目录 前言 1. 翻译说明 2. 版权声明 1. Hibernate入门 ...20.1. Summary 20.2. SchemaExport命令行选项 20.3. SchemaExport 连接属性 20.4. SchemaUpdate命令行选项 20.5. SchemaValidator命令行参数
HIBERNATE - 符合Java习惯的关系数据库持久化 Hibernate参考文档 ...20.1. Summary 20.2. SchemaExport命令行选项 20.3. SchemaExport 连接属性 20.4. SchemaUpdate命令行选项 20.5. SchemaValidator命令行参数
HIBERNATE - 符合Java习惯的关系数据库持久化 Hibernate参考文档 ...20.1. Summary 20.2. SchemaExport命令行选项 20.3. SchemaExport 连接属性 20.4. SchemaUpdate命令行选项 20.5. SchemaValidator命令行参数
HIBERNATE - 符合Java习惯的关系数据库持久化 Hibernate参考文档 ...20.1. Summary 20.2. SchemaExport命令行选项 20.3. SchemaExport 连接属性 20.4. SchemaUpdate命令行选项 20.5. SchemaValidator命令行参数
com.kingdee.bos.transaction.springframework.transaction.jta com.kingdee.bos.transaction.springframework.transaction.support com.kingdee.bos.transaction.springframework.util ...
Default Exclusion Patterns for fileSets 12.5.4. dependencySets Section 12.5.4.1. Customizing Dependency Output Location 12.5.4.2. Interpolation of Properties in Dependency Output Location 12.5....
37. Distributed Transactions with JTA 37.1. Using an Atomikos Transaction Manager 37.2. Using a Bitronix Transaction Manager 37.3. Using a Narayana Transaction Manager 37.4. Using a Java EE Managed ...