程序包 org.hibernate.resource.transaction.backend.jdbc

Collectively models the concept of transaction coordination through the "data store" specific notion of a transaction. In Hibernate ORM uses this correlates to the JDBC notion of a transaction, which (unfortunately) is not modeled by an actual contract. Instead JDBC models transaction control via its Connection contract. Here we use JdbcResourceTransaction as the encapsulation for conceptual JDBC transaction. It also helps isolate the org.hibernate.resource.transaction and org.hibernate.resource.jdbc packages from circularity. Lastly it does somewhat allow for potentially abstracting non-JDBC data stores into this transaction handling utilizing its data store specific transaction mechanism.