Package org.hibernate.jpa
Interface AvailableSettings
-
- All Known Subinterfaces:
AvailableSettings,AvailableSettings
- All Known Implementing Classes:
Environment
public interface AvailableSettingsDefines the available HEM settings, both JPA-defined as well as Hibernate-specific NOTE : Does *not* includeEnvironmentvalues.
-
-
Field Summary
Fields Modifier and Type Field Description static StringALIAS_SPECIFIC_LOCK_MODEQuery hint (akaQuery.setHint(java.lang.String, java.lang.Object)) for applying an alias specific lock mode (akaQuery.setLockMode(java.lang.String, org.hibernate.LockMode)).static StringALLOW_JTA_TRANSACTION_ACCESSSetting that allows access to the underlyingTransaction, even when using a JTA since normal JPA operations prohibit this behavior.static StringCDI_BEAN_MANAGERDeprecated.(since 5.2) useAvailableSettings.CDI_BEAN_MANAGERinsteadstatic StringCFG_FILEcfg.xml configuration file usedstatic StringCLASS_CACHE_PREFIXCaching configuration should follow the following patternhibernate.ejb.classcache.<fully.qualified.Classname> usage[, region]where usage is the cache strategy used and region the cache region namestatic StringCOLLECTION_CACHE_PREFIXCaching configuration should follow the following patternhibernate.ejb.collectioncache.<fully.qualified.Classname>.<role> usage[, region]where usage is the cache strategy used and region the cache region namestatic StringDELAY_CDI_ACCESSDefines delayed access to CDI BeanManager.static StringDISCARD_PC_ON_CLOSEWhether or not discard persistent context on entityManager.close() The EJB3 compliant and default choice is falsestatic StringENHANCER_ENABLE_ASSOCIATION_MANAGEMENTEnable association management feature in runtime bytecode enhancementstatic StringENHANCER_ENABLE_DIRTY_TRACKINGEnable dirty tracking feature in runtime bytecode enhancementstatic StringENHANCER_ENABLE_LAZY_INITIALIZATIONEnable lazy loading feature in runtime bytecode enhancementstatic StringENTITY_MANAGER_FACTORY_NAMEEntityManagerFactory namestatic StringEVENT_LISTENER_PREFIXEvent configuration should follow the following pattern hibernate.ejb.event.[eventType] f.q.c.n.EventListener1, f.q.c.n.EventListener12 ...static StringFLUSH_MODEUsed to determine flush mode.static StringHBXML_FILESstatic StringIDENTIFIER_GENERATOR_STRATEGY_PROVIDERIdentifierGeneratorStrategyProvider class name, the class must have a no-arg constructorstatic StringINTERCEPTORDeprecated.(since 5.2) useAvailableSettings.INTERCEPTORinsteadstatic StringJDBC_DRIVERDeprecated.(since 5.2) useAvailableSettings.JPA_JDBC_DRIVERinsteadstatic StringJDBC_PASSWORDDeprecated.(since 5.2) useAvailableSettings.JPA_JDBC_PASSWORDinsteadstatic StringJDBC_URLDeprecated.(since 5.2) useAvailableSettings.JPA_JDBC_URLinsteadstatic StringJDBC_USERDeprecated.(since 5.2) useAvailableSettings.JPA_JDBC_USERinsteadstatic StringJPA_METAMODEL_POPULATIONDeprecated.useAvailableSettings.STATIC_METAMODEL_POPULATIONinsteadstatic StringJTA_DATASOURCEDeprecated.(since 5.2) useAvailableSettings.JPA_JTA_DATASOURCEinsteadstatic StringLOADED_CLASSESstatic StringLOCK_SCOPEDeprecated.(since 5.2) useAvailableSettings.JPA_LOCK_SCOPEinsteadstatic StringLOCK_TIMEOUTDeprecated.(since 5.2) useAvailableSettings.JPA_LOCK_TIMEOUTinsteadstatic StringNON_JTA_DATASOURCEDeprecated.(since 5.2) useAvailableSettings.JPA_NON_JTA_DATASOURCEinsteadstatic StringPERSIST_VALIDATION_GROUPDeprecated.(since 5.2) useAvailableSettings.JPA_PERSIST_VALIDATION_GROUPinsteadstatic StringPERSISTENCE_UNIT_NAMEUsed to pass along the name of the persistence unit.static StringPROVIDERDeprecated.(since 5.2) useAvailableSettings.JPA_PERSISTENCE_PROVIDERinsteadstatic StringREMOVE_VALIDATION_GROUPDeprecated.(since 5.2) useAvailableSettings.JPA_REMOVE_VALIDATION_GROUPinsteadstatic StringSCHEMA_GEN_CONNECTIONDeprecated.(since 5.2) useAvailableSettings.HBM2DDL_CONNECTIONinsteadstatic StringSCHEMA_GEN_CREATE_SCHEMASDeprecated.(since 5.2) useAvailableSettings.HBM2DLL_CREATE_NAMESPACESorAvailableSettings.HBM2DLL_CREATE_SCHEMASinsteadstatic StringSCHEMA_GEN_CREATE_SCRIPT_SOURCEDeprecated.(since 5.2) useAvailableSettings.HBM2DDL_CREATE_SCRIPT_SOURCEinsteadstatic StringSCHEMA_GEN_CREATE_SOURCEDeprecated.(since 5.2) useAvailableSettings.HBM2DDL_CREATE_SOURCEinsteadstatic StringSCHEMA_GEN_DATABASE_ACTIONDeprecated.(since 5.2) useAvailableSettings.HBM2DDL_DATABASE_ACTIONinsteadstatic StringSCHEMA_GEN_DB_MAJOR_VERSIONDeprecated.(since 5.2) useAvailableSettings.HBM2DDL_DB_MAJOR_VERSIONinsteadstatic StringSCHEMA_GEN_DB_MINOR_VERSIONDeprecated.(since 5.2) useAvailableSettings.HBM2DDL_DB_MINOR_VERSIONinsteadstatic StringSCHEMA_GEN_DB_NAMEDeprecated.(since 5.2) useAvailableSettings.HBM2DDL_DB_NAMEinsteadstatic StringSCHEMA_GEN_DROP_SCRIPT_SOURCEDeprecated.(since 5.2) useAvailableSettings.HBM2DDL_DROP_SCRIPT_SOURCEinsteadstatic StringSCHEMA_GEN_DROP_SOURCEDeprecated.(since 5.2) useAvailableSettings.HBM2DDL_DROP_SOURCEinsteadstatic StringSCHEMA_GEN_LOAD_SCRIPT_SOURCEDeprecated.(since 5.2) useAvailableSettings.HBM2DDL_LOAD_SCRIPT_SOURCEinsteadstatic StringSCHEMA_GEN_SCRIPTS_ACTIONDeprecated.(since 5.2) useAvailableSettings.HBM2DDL_SCRIPTS_ACTIONinsteadstatic StringSCHEMA_GEN_SCRIPTS_CREATE_TARGETDeprecated.(since 5.2) useAvailableSettings.HBM2DDL_SCRIPTS_CREATE_TARGETinsteadstatic StringSCHEMA_GEN_SCRIPTS_DROP_TARGETDeprecated.(since 5.2) useAvailableSettings.HBM2DDL_SCRIPTS_DROP_TARGETinsteadstatic StringSESSION_FACTORY_OBSERVERSessionFactoryObserver class name, the class must have a no-arg constructorstatic StringSESSION_INTERCEPTORDeprecated.(since 5.2) useAvailableSettings.SESSION_SCOPED_INTERCEPTORinsteadstatic StringSHARED_CACHE_MODEDeprecated.(since 5.2) useAvailableSettings.JPA_SHARED_CACHE_MODEinsteadstatic StringSHARED_CACHE_RETRIEVE_MODEDeprecated.(since 5.2) useAvailableSettings.JPA_SHARED_CACHE_RETRIEVE_MODEinsteadstatic StringSHARED_CACHE_STORE_MODEDeprecated.(since 5.2) useAvailableSettings.JPA_SHARED_CACHE_STORE_MODEinsteadstatic StringTRANSACTION_TYPEDeprecated.(since 5.2) useAvailableSettings.JPA_TRANSACTION_TYPEinsteadstatic StringUPDATE_VALIDATION_GROUPDeprecated.(since 5.2) useAvailableSettings.JPA_UPDATE_VALIDATION_GROUPinsteadstatic StringVALIDATION_FACTORYDeprecated.(since 5.2) useAvailableSettings.JPA_VALIDATION_FACTORYinsteadstatic StringVALIDATION_MODEDeprecated.(since 5.2) useAvailableSettings.JPA_VALIDATION_MODEinsteadstatic StringXML_FILE_NAMESList of classes names Internal use only
-
-
-
Field Detail
-
PROVIDER
@Deprecated static final String PROVIDER
Deprecated.(since 5.2) useAvailableSettings.JPA_PERSISTENCE_PROVIDERinstead- See Also:
- Constant Field Values
-
TRANSACTION_TYPE
@Deprecated static final String TRANSACTION_TYPE
Deprecated.(since 5.2) useAvailableSettings.JPA_TRANSACTION_TYPEinstead- See Also:
- Constant Field Values
-
JTA_DATASOURCE
@Deprecated static final String JTA_DATASOURCE
Deprecated.(since 5.2) useAvailableSettings.JPA_JTA_DATASOURCEinstead- See Also:
- Constant Field Values
-
NON_JTA_DATASOURCE
@Deprecated static final String NON_JTA_DATASOURCE
Deprecated.(since 5.2) useAvailableSettings.JPA_NON_JTA_DATASOURCEinstead- See Also:
- Constant Field Values
-
JDBC_DRIVER
@Deprecated static final String JDBC_DRIVER
Deprecated.(since 5.2) useAvailableSettings.JPA_JDBC_DRIVERinstead- See Also:
- Constant Field Values
-
JDBC_URL
@Deprecated static final String JDBC_URL
Deprecated.(since 5.2) useAvailableSettings.JPA_JDBC_URLinstead- See Also:
- Constant Field Values
-
JDBC_USER
@Deprecated static final String JDBC_USER
Deprecated.(since 5.2) useAvailableSettings.JPA_JDBC_USERinstead- See Also:
- Constant Field Values
-
JDBC_PASSWORD
@Deprecated static final String JDBC_PASSWORD
Deprecated.(since 5.2) useAvailableSettings.JPA_JDBC_PASSWORDinstead- See Also:
- Constant Field Values
-
SHARED_CACHE_MODE
@Deprecated static final String SHARED_CACHE_MODE
Deprecated.(since 5.2) useAvailableSettings.JPA_SHARED_CACHE_MODEinstead- See Also:
- Constant Field Values
-
SHARED_CACHE_RETRIEVE_MODE
@Deprecated static final String SHARED_CACHE_RETRIEVE_MODE
Deprecated.(since 5.2) useAvailableSettings.JPA_SHARED_CACHE_RETRIEVE_MODEinstead- See Also:
- Constant Field Values
-
SHARED_CACHE_STORE_MODE
@Deprecated static final String SHARED_CACHE_STORE_MODE
Deprecated.(since 5.2) useAvailableSettings.JPA_SHARED_CACHE_STORE_MODEinstead- See Also:
- Constant Field Values
-
VALIDATION_MODE
@Deprecated static final String VALIDATION_MODE
Deprecated.(since 5.2) useAvailableSettings.JPA_VALIDATION_MODEinstead- See Also:
- Constant Field Values
-
VALIDATION_FACTORY
@Deprecated static final String VALIDATION_FACTORY
Deprecated.(since 5.2) useAvailableSettings.JPA_VALIDATION_FACTORYinstead- See Also:
- Constant Field Values
-
PERSIST_VALIDATION_GROUP
@Deprecated static final String PERSIST_VALIDATION_GROUP
Deprecated.(since 5.2) useAvailableSettings.JPA_PERSIST_VALIDATION_GROUPinstead- See Also:
- Constant Field Values
-
UPDATE_VALIDATION_GROUP
@Deprecated static final String UPDATE_VALIDATION_GROUP
Deprecated.(since 5.2) useAvailableSettings.JPA_UPDATE_VALIDATION_GROUPinstead- See Also:
- Constant Field Values
-
REMOVE_VALIDATION_GROUP
@Deprecated static final String REMOVE_VALIDATION_GROUP
Deprecated.(since 5.2) useAvailableSettings.JPA_REMOVE_VALIDATION_GROUPinstead- See Also:
- Constant Field Values
-
LOCK_SCOPE
@Deprecated static final String LOCK_SCOPE
Deprecated.(since 5.2) useAvailableSettings.JPA_LOCK_SCOPEinstead- See Also:
- Constant Field Values
-
LOCK_TIMEOUT
@Deprecated static final String LOCK_TIMEOUT
Deprecated.(since 5.2) useAvailableSettings.JPA_LOCK_TIMEOUTinstead- See Also:
- Constant Field Values
-
CDI_BEAN_MANAGER
@Deprecated static final String CDI_BEAN_MANAGER
Deprecated.(since 5.2) useAvailableSettings.CDI_BEAN_MANAGERinstead- See Also:
- Constant Field Values
-
SCHEMA_GEN_CREATE_SOURCE
@Deprecated static final String SCHEMA_GEN_CREATE_SOURCE
Deprecated.(since 5.2) useAvailableSettings.HBM2DDL_CREATE_SOURCEinstead- See Also:
- Constant Field Values
-
SCHEMA_GEN_DROP_SOURCE
@Deprecated static final String SCHEMA_GEN_DROP_SOURCE
Deprecated.(since 5.2) useAvailableSettings.HBM2DDL_DROP_SOURCEinstead- See Also:
- Constant Field Values
-
SCHEMA_GEN_CREATE_SCRIPT_SOURCE
@Deprecated static final String SCHEMA_GEN_CREATE_SCRIPT_SOURCE
Deprecated.(since 5.2) useAvailableSettings.HBM2DDL_CREATE_SCRIPT_SOURCEinstead- See Also:
- Constant Field Values
-
SCHEMA_GEN_DROP_SCRIPT_SOURCE
@Deprecated static final String SCHEMA_GEN_DROP_SCRIPT_SOURCE
Deprecated.(since 5.2) useAvailableSettings.HBM2DDL_DROP_SCRIPT_SOURCEinstead- See Also:
- Constant Field Values
-
SCHEMA_GEN_DATABASE_ACTION
@Deprecated static final String SCHEMA_GEN_DATABASE_ACTION
Deprecated.(since 5.2) useAvailableSettings.HBM2DDL_DATABASE_ACTIONinstead- See Also:
- Constant Field Values
-
SCHEMA_GEN_SCRIPTS_ACTION
@Deprecated static final String SCHEMA_GEN_SCRIPTS_ACTION
Deprecated.(since 5.2) useAvailableSettings.HBM2DDL_SCRIPTS_ACTIONinstead- See Also:
- Constant Field Values
-
SCHEMA_GEN_SCRIPTS_CREATE_TARGET
@Deprecated static final String SCHEMA_GEN_SCRIPTS_CREATE_TARGET
Deprecated.(since 5.2) useAvailableSettings.HBM2DDL_SCRIPTS_CREATE_TARGETinstead- See Also:
- Constant Field Values
-
SCHEMA_GEN_SCRIPTS_DROP_TARGET
@Deprecated static final String SCHEMA_GEN_SCRIPTS_DROP_TARGET
Deprecated.(since 5.2) useAvailableSettings.HBM2DDL_SCRIPTS_DROP_TARGETinstead- See Also:
- Constant Field Values
-
SCHEMA_GEN_CREATE_SCHEMAS
@Deprecated static final String SCHEMA_GEN_CREATE_SCHEMAS
Deprecated.(since 5.2) useAvailableSettings.HBM2DLL_CREATE_NAMESPACESorAvailableSettings.HBM2DLL_CREATE_SCHEMASinstead- See Also:
- Constant Field Values
-
SCHEMA_GEN_CONNECTION
@Deprecated static final String SCHEMA_GEN_CONNECTION
Deprecated.(since 5.2) useAvailableSettings.HBM2DDL_CONNECTIONinstead- See Also:
- Constant Field Values
-
SCHEMA_GEN_DB_NAME
@Deprecated static final String SCHEMA_GEN_DB_NAME
Deprecated.(since 5.2) useAvailableSettings.HBM2DDL_DB_NAMEinstead- See Also:
- Constant Field Values
-
SCHEMA_GEN_DB_MAJOR_VERSION
@Deprecated static final String SCHEMA_GEN_DB_MAJOR_VERSION
Deprecated.(since 5.2) useAvailableSettings.HBM2DDL_DB_MAJOR_VERSIONinstead- See Also:
- Constant Field Values
-
SCHEMA_GEN_DB_MINOR_VERSION
@Deprecated static final String SCHEMA_GEN_DB_MINOR_VERSION
Deprecated.(since 5.2) useAvailableSettings.HBM2DDL_DB_MINOR_VERSIONinstead- See Also:
- Constant Field Values
-
SCHEMA_GEN_LOAD_SCRIPT_SOURCE
@Deprecated static final String SCHEMA_GEN_LOAD_SCRIPT_SOURCE
Deprecated.(since 5.2) useAvailableSettings.HBM2DDL_LOAD_SCRIPT_SOURCEinstead- See Also:
- Constant Field Values
-
JPA_METAMODEL_POPULATION
@Deprecated static final String JPA_METAMODEL_POPULATION
Deprecated.useAvailableSettings.STATIC_METAMODEL_POPULATIONinsteadSetting that indicates whether to build the JPA types. Accepts 3 values:- enabled - Do the build
- disabled - Do not do the build
- ignoreUnsupported - Do the build, but ignore any non-JPA features that would otherwise result in a failure.
- See Also:
- Constant Field Values
-
INTERCEPTOR
@Deprecated static final String INTERCEPTOR
Deprecated.(since 5.2) useAvailableSettings.INTERCEPTORinstead- See Also:
- Constant Field Values
-
SESSION_INTERCEPTOR
@Deprecated static final String SESSION_INTERCEPTOR
Deprecated.(since 5.2) useAvailableSettings.SESSION_SCOPED_INTERCEPTORinstead- See Also:
- Constant Field Values
-
ALIAS_SPECIFIC_LOCK_MODE
static final String ALIAS_SPECIFIC_LOCK_MODE
Query hint (akaQuery.setHint(java.lang.String, java.lang.Object)) for applying an alias specific lock mode (akaQuery.setLockMode(java.lang.String, org.hibernate.LockMode)). EitherLockModeorLockModeTypeare accepted. Also the String names of either are accepted as well. null is additionally accepted as meaningLockMode.NONE. Usage is to concatenate this setting name and the alias name together, separated by a dot. For exampleQuery.setHint( "org.hibernate.lockMode.a", someLockMode )would applysomeLockModeto the alias"a".- See Also:
- Constant Field Values
-
CFG_FILE
static final String CFG_FILE
cfg.xml configuration file used- See Also:
- Constant Field Values
-
CLASS_CACHE_PREFIX
static final String CLASS_CACHE_PREFIX
Caching configuration should follow the following patternhibernate.ejb.classcache.<fully.qualified.Classname> usage[, region]where usage is the cache strategy used and region the cache region name- See Also:
- Constant Field Values
-
COLLECTION_CACHE_PREFIX
static final String COLLECTION_CACHE_PREFIX
Caching configuration should follow the following patternhibernate.ejb.collectioncache.<fully.qualified.Classname>.<role> usage[, region]where usage is the cache strategy used and region the cache region name- See Also:
- Constant Field Values
-
SESSION_FACTORY_OBSERVER
static final String SESSION_FACTORY_OBSERVER
SessionFactoryObserver class name, the class must have a no-arg constructor- See Also:
- Constant Field Values
-
IDENTIFIER_GENERATOR_STRATEGY_PROVIDER
static final String IDENTIFIER_GENERATOR_STRATEGY_PROVIDER
IdentifierGeneratorStrategyProvider class name, the class must have a no-arg constructor- See Also:
- Constant Field Values
-
EVENT_LISTENER_PREFIX
static final String EVENT_LISTENER_PREFIX
Event configuration should follow the following pattern hibernate.ejb.event.[eventType] f.q.c.n.EventListener1, f.q.c.n.EventListener12 ...- See Also:
- Constant Field Values
-
ENHANCER_ENABLE_DIRTY_TRACKING
static final String ENHANCER_ENABLE_DIRTY_TRACKING
Enable dirty tracking feature in runtime bytecode enhancement- See Also:
- Constant Field Values
-
ENHANCER_ENABLE_LAZY_INITIALIZATION
static final String ENHANCER_ENABLE_LAZY_INITIALIZATION
Enable lazy loading feature in runtime bytecode enhancement- See Also:
- Constant Field Values
-
ENHANCER_ENABLE_ASSOCIATION_MANAGEMENT
static final String ENHANCER_ENABLE_ASSOCIATION_MANAGEMENT
Enable association management feature in runtime bytecode enhancement- See Also:
- Constant Field Values
-
DISCARD_PC_ON_CLOSE
static final String DISCARD_PC_ON_CLOSE
Whether or not discard persistent context on entityManager.close() The EJB3 compliant and default choice is false- See Also:
- Constant Field Values
-
FLUSH_MODE
static final String FLUSH_MODE
Used to determine flush mode.- See Also:
- Constant Field Values
-
ENTITY_MANAGER_FACTORY_NAME
static final String ENTITY_MANAGER_FACTORY_NAME
EntityManagerFactory name- See Also:
- Constant Field Values
-
XML_FILE_NAMES
static final String XML_FILE_NAMES
List of classes names Internal use only- See Also:
- Constant Field Values
-
HBXML_FILES
static final String HBXML_FILES
- See Also:
- Constant Field Values
-
LOADED_CLASSES
static final String LOADED_CLASSES
- See Also:
- Constant Field Values
-
PERSISTENCE_UNIT_NAME
static final String PERSISTENCE_UNIT_NAME
Used to pass along the name of the persistence unit.- See Also:
- Constant Field Values
-
DELAY_CDI_ACCESS
static final String DELAY_CDI_ACCESS
Defines delayed access to CDI BeanManager. Starting in 5.1 the preferred means for CDI bootstrapping is through org.hibernate.jpa.event.spi.jpa.ExtendedBeanManager- Since:
- 5.0.8
- See Also:
- Constant Field Values
-
ALLOW_JTA_TRANSACTION_ACCESS
static final String ALLOW_JTA_TRANSACTION_ACCESS
Setting that allows access to the underlyingTransaction, even when using a JTA since normal JPA operations prohibit this behavior. Values aretruegrants access,falsedoes not. The default behavior is to allow access unless the session is bootstrapped via JPA.- See Also:
- Constant Field Values
-
-