Class 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

    public class SpringJtaPlatform
    extends org.hibernate.engine.transaction.jta.platform.internal.AbstractJtaPlatform
    Generic Hibernate AbstractJtaPlatform implementation that simply resolves the JTA UserTransaction and TransactionManager from the Spring-configured JtaTransactionManager implementation.
    Since:
    1.2.0
    See Also:
    Serialized Form
    • Constructor Detail

      • SpringJtaPlatform

        public SpringJtaPlatform​(org.springframework.transaction.jta.JtaTransactionManager transactionManager)
    • Method Detail

      • locateUserTransaction

        protected UserTransaction locateUserTransaction()
        Specified by:
        locateUserTransaction in class org.hibernate.engine.transaction.jta.platform.internal.AbstractJtaPlatform