类 SpringJtaPlatform
- java.lang.Object
- org.hibernate.engine.transaction.jta.platform.internal.AbstractJtaPlatform
- org.springframework.boot.orm.jpa.hibernate.SpringJtaPlatform
- 所有已实现的接口:
Serializable
,org.hibernate.engine.transaction.jta.platform.internal.TransactionManagerAccess
,org.hibernate.engine.transaction.jta.platform.spi.JtaPlatform
,org.hibernate.service.Service
,org.hibernate.service.spi.Configurable
,org.hibernate.service.spi.ServiceRegistryAwareService
public class SpringJtaPlatform extends org.hibernate.engine.transaction.jta.platform.internal.AbstractJtaPlatform
Generic HibernateAbstractJtaPlatform
implementation that simply resolves the JTAUserTransaction
andTransactionManager
from the Spring-configuredJtaTransactionManager
implementation.- 从以下版本开始:
- 1.2.0
- 另请参阅:
- 序列化表格
构造器概要
构造器 构造器 说明 SpringJtaPlatform(org.springframework.transaction.jta.JtaTransactionManager transactionManager)
方法概要
所有方法 实例方法 具体方法 修饰符和类型 方法 说明 protected TransactionManager
locateTransactionManager()
protected UserTransaction
locateUserTransaction()
从类继承的方法 org.hibernate.engine.transaction.jta.platform.internal.AbstractJtaPlatform
canCacheTransactionManager, canCacheTransactionManagerByDefault, canCacheUserTransaction, canCacheUserTransactionByDefault, canRegisterSynchronization, configure, getCurrentStatus, getSynchronizationStrategy, getTransactionIdentifier, getTransactionManager, injectServices, jndiService, registerSynchronization, retrieveTransactionManager, retrieveUserTransaction, serviceRegistry
构造器详细资料
SpringJtaPlatform
public SpringJtaPlatform(org.springframework.transaction.jta.JtaTransactionManager transactionManager)
方法详细资料
locateTransactionManager
protected TransactionManager locateTransactionManager()
- 指定者:
locateTransactionManager
在类中org.hibernate.engine.transaction.jta.platform.internal.AbstractJtaPlatform
locateUserTransaction
protected UserTransaction locateUserTransaction()
- 指定者:
locateUserTransaction
在类中org.hibernate.engine.transaction.jta.platform.internal.AbstractJtaPlatform