Uses of Enum
jakarta.persistence.PersistenceUnitTransactionType
Packages that use PersistenceUnitTransactionType
Package
Description
Jakarta Persistence is the API for the management for persistence and object/relational mapping.
-
Uses of PersistenceUnitTransactionType in jakarta.persistence
Subclasses with type arguments of type PersistenceUnitTransactionType in jakarta.persistenceModifier and TypeClassDescriptionenumEnumerates the possible approaches to transaction management in Jakarta Persistence.Fields in jakarta.persistence declared as PersistenceUnitTransactionTypeModifier and TypeFieldDescriptionprivate PersistenceUnitTransactionTypePersistenceConfiguration.transactionTypeMethods in jakarta.persistence that return PersistenceUnitTransactionTypeModifier and TypeMethodDescriptionEntityManagerFactory.getTransactionType()The type of transaction management used by this persistence unit, either resource-local transaction management, or JTA.PersistenceConfiguration.transactionType()The transaction type.Returns the enum constant of this type with the specified name.static PersistenceUnitTransactionType[]PersistenceUnitTransactionType.values()Returns an array containing the constants of this enum type, in the order they are declared.Methods in jakarta.persistence with parameters of type PersistenceUnitTransactionTypeModifier and TypeMethodDescriptionPersistenceConfiguration.transactionType(PersistenceUnitTransactionType transactionType) Specify the transaction type for the persistence unit.