Class ConfigurableJtaPlatform

java.lang.Object
org.springframework.orm.jpa.hibernate.ConfigurableJtaPlatform
All Implemented Interfaces:
Serializable, JtaPlatform, Service

public class ConfigurableJtaPlatform extends Object implements JtaPlatform
Implementation of Hibernate's JtaPlatform SPI, exposing passed-in TransactionManager, UserTransaction and TransactionSynchronizationRegistry references.
Since:
7.0.4
Author:
Juergen Hoeller
See Also:
  • Constructor Details

    • ConfigurableJtaPlatform

      public ConfigurableJtaPlatform(jakarta.transaction.TransactionManager tm, @Nullable jakarta.transaction.UserTransaction ut, @Nullable jakarta.transaction.TransactionSynchronizationRegistry tsr)
      Create a new ConfigurableJtaPlatform instance with the given JTA TransactionManager and optionally a given UserTransaction.
      Parameters:
      tm - the JTA TransactionManager reference (required)
      ut - the JTA UserTransaction reference (optional)
      tsr - the JTA 1.1 TransactionSynchronizationRegistry (optional)
  • Method Details