Interface Persistence.UnitProperties
- Enclosing class:
Persistence
public static interface Persistence.UnitProperties
Properties used to override elements the configuration of a persistence unit
in
persistence.xml. Clients of the PersistenceConfiguration
class should not use these properties.- Since:
- 4.0
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final StringThe name of a class implementingPersistenceProvider.static final StringThe fully-qualified class name of an annotation annotatedjakarta.inject.Qualifier.static final StringThe fully-qualified class name of an annotation annotatedjakarta.inject.Scopeorjakarta.enterprise.context.NormalScope.static final StringThe JNDI name of a JTA data source used by the persistence provider to obtain database connections.static final StringThe JNDI name of a non-JTA data source used by the persistence provider to obtain database connections.static final StringString specifying aPersistenceUnitTransactionType.
-
Field Details
-
PERSISTENCE_PROVIDER
The name of a class implementingPersistenceProvider.- See Also:
-
PERSISTENCE_UNIT_TRANSACTION_TYPE
String specifying aPersistenceUnitTransactionType.- See Also:
-
PERSISTENCE_UNIT_JTA_DATASOURCE
The JNDI name of a JTA data source used by the persistence provider to obtain database connections.- See Also:
-
PERSISTENCE_UNIT_NON_JTA_DATASOURCE
The JNDI name of a non-JTA data source used by the persistence provider to obtain database connections.- See Also:
-
PERSISTENCE_UNIT_BEAN_QUALIFIERS
The fully-qualified class name of an annotation annotatedjakarta.inject.Qualifier. This qualifier annotation may be used to disambiguate the persistence unit for the purposes of dependency injection.- See Also:
-
PERSISTENCE_UNIT_BEAN_SCOPE
The fully-qualified class name of an annotation annotatedjakarta.inject.Scopeorjakarta.enterprise.context.NormalScope. This scope annotation may be used to determine the scope of a persistence context for the purposes of dependency injection.- See Also:
-