JPA Method
in jakarta.persistence.spi.PersistenceUnitInfo

PersistenceUnitTransactionType getTransactionType()


Returns the transaction type of the entity managers created by the EntityManagerFactory. The transaction type corresponds to the transaction-type attribute in the persistence.xml file.
Return:
transaction type of the entity managers created by the EntityManagerFactory

Note: This method will change its return type to {@link jakarta.persistence.PersistenceUnitTransactionType} in the next major version.

Since:
JPA 1.0