Class SpringJtaPlatform
java.lang.Object
org.hibernate.engine.transaction.jta.platform.internal.AbstractJtaPlatform
org.springframework.boot.hibernate.SpringJtaPlatform
- All Implemented Interfaces:
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
@Deprecated(since="4.1.0",
forRemoval=true)
public class SpringJtaPlatform
extends org.hibernate.engine.transaction.jta.platform.internal.AbstractJtaPlatform
Deprecated, for removal: This API element is subject to removal in a future version.
Generic Hibernate
AbstractJtaPlatform implementation that simply resolves the
JTA UserTransaction and TransactionManager from the Spring-configured
JtaTransactionManager implementation.- Since:
- 4.0.0
- See Also:
-
Constructor Summary
ConstructorsConstructorDescriptionSpringJtaPlatform(org.springframework.transaction.jta.JtaTransactionManager transactionManager) Deprecated, for removal: This API element is subject to removal in a future version. -
Method Summary
Modifier and TypeMethodDescriptionprotected @Nullable jakarta.transaction.TransactionManagerDeprecated, for removal: This API element is subject to removal in a future version.protected @Nullable jakarta.transaction.UserTransactionDeprecated, for removal: This API element is subject to removal in a future version.Methods inherited from class org.hibernate.engine.transaction.jta.platform.internal.AbstractJtaPlatform
canCacheTransactionManager, canCacheTransactionManagerByDefault, canCacheUserTransaction, canCacheUserTransactionByDefault, canRegisterSynchronization, configure, getCurrentStatus, getSynchronizationStrategy, getTransactionIdentifier, getTransactionManager, injectServices, jndiService, registerSynchronization, retrieveTransactionManager, retrieveUserTransaction, serviceRegistry
-
Constructor Details
-
SpringJtaPlatform
public SpringJtaPlatform(org.springframework.transaction.jta.JtaTransactionManager transactionManager) Deprecated, for removal: This API element is subject to removal in a future version.
-
-
Method Details
-
locateTransactionManager
protected @Nullable jakarta.transaction.TransactionManager locateTransactionManager()Deprecated, for removal: This API element is subject to removal in a future version.- Specified by:
locateTransactionManagerin classorg.hibernate.engine.transaction.jta.platform.internal.AbstractJtaPlatform
-
locateUserTransaction
protected @Nullable jakarta.transaction.UserTransaction locateUserTransaction()Deprecated, for removal: This API element is subject to removal in a future version.- Specified by:
locateUserTransactionin classorg.hibernate.engine.transaction.jta.platform.internal.AbstractJtaPlatform
-
HibernateJpaVendorAdapter.setJtaTransactionManager(Object)andConfigurableJtaPlatform