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 Details

    • PERSISTENCE_PROVIDER

      static final String PERSISTENCE_PROVIDER
      The name of a class implementing PersistenceProvider.
      See Also:
    • PERSISTENCE_UNIT_TRANSACTION_TYPE

      static final String PERSISTENCE_UNIT_TRANSACTION_TYPE
      String specifying a PersistenceUnitTransactionType.
      See Also:
    • PERSISTENCE_UNIT_JTA_DATASOURCE

      static final String 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

      static final String 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

      static final String PERSISTENCE_UNIT_BEAN_QUALIFIERS
      The fully-qualified class name of an annotation annotated jakarta.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

      static final String PERSISTENCE_UNIT_BEAN_SCOPE
      The fully-qualified class name of an annotation annotated jakarta.inject.Scope or jakarta.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: