Top Description Fields
org.hibernate.jpa

public Interface AvailableSettings

Known Direct Subinterfaces
org.hibernate.cfg.AvailableSettings, org.hibernate.ejb.AvailableSettings
Annotations
@Deprecated

Deprecated

Use org.hibernate.cfg.AvailableSettings instead. Will be removed in 6.0

Defines the available HEM settings, both JPA-defined as well as Hibernate-specific

NOTE : Does *not* include org.hibernate.cfg.Environment values.

Author
Steve Ebersole

Field Summary

Modifier and TypeField and Description
public static final String
ALIAS_SPECIFIC_LOCK_MODE

Query hint (aka javax.persistence.Query#setHint) for applying an alias specific lock mode (aka org.hibernate.Query#setLockMode).

public static final String
ALLOW_JTA_TRANSACTION_ACCESS

Setting that allows access to the underlying org.hibernate.Transaction, even when using a JTA since normal JPA operations prohibit this behavior.

public static final String
public static final String
CFG_FILE

cfg.xml configuration file used

public static final String
public static final String
public static final String
DELAY_CDI_ACCESS

Defines delayed access to CDI BeanManager.

public static final String
public static final String
ENHANCER_ENABLE_ASSOCIATION_MANAGEMENT

Enable association management feature in runtime bytecode enhancement

public static final String
ENHANCER_ENABLE_DIRTY_TRACKING

Enable dirty tracking feature in runtime bytecode enhancement

public static final String
ENHANCER_ENABLE_LAZY_INITIALIZATION

Enable lazy loading feature in runtime bytecode enhancement

public static final String
ENTITY_MANAGER_FACTORY_NAME

EntityManagerFactory name

public 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 ...

public static final String
FLUSH_MODE

Used to determine flush mode.

public static final String
public static final String
IDENTIFIER_GENERATOR_STRATEGY_PROVIDER

IdentifierGeneratorStrategyProvider class name, the class must have a no-arg constructor

public static final String
public static final String
public static final String
public static final String
public static final String
public static final String
JPA_METAMODEL_POPULATION

Setting that indicates whether to build the JPA types.

public static final String
public static final String
public static final String
public static final String
public static final String
public static final String
public static final String
PERSISTENCE_UNIT_NAME

Used to pass along the name of the persistence unit.

public static final String
public static final String
public static final String
public static final String
public static final String
public static final String
public static final String
public static final String
public static final String
public static final String
public static final String
public static final String
public static final String
public static final String
public static final String
public static final String
public static final String
SESSION_FACTORY_OBSERVER

SessionFactoryObserver class name, the class must have a no-arg constructor

public static final String
public static final String
public static final String
public static final String
public static final String
public static final String
public static final String
public static final String
public static final String

Field Detail

ALIAS_SPECIFIC_LOCK_MODEback to summary
public static final String ALIAS_SPECIFIC_LOCK_MODE

Query hint (aka javax.persistence.Query#setHint) for applying an alias specific lock mode (aka org.hibernate.Query#setLockMode).

Either org.hibernate.LockMode or javax.persistence.LockModeType are accepted. Also the String names of either are accepted as well. null is additionally accepted as meaning org.hibernate.LockMode#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 apply someLockMode to the alias "a".

ALLOW_JTA_TRANSACTION_ACCESSback to summary
public static final String ALLOW_JTA_TRANSACTION_ACCESS

Setting that allows access to the underlying org.hibernate.Transaction, even when using a JTA since normal JPA operations prohibit this behavior.

Values are true grants access, false does not.

The default behavior is to allow access unless the session is bootstrapped via JPA.

CDI_BEAN_MANAGERback to summary
public static final String CDI_BEAN_MANAGER

Deprecated

(since 5.2) use org.hibernate.cfg.AvailableSettings#CDI_BEAN_MANAGER instead

Annotations
@Deprecated
CFG_FILEback to summary
public static final String CFG_FILE

cfg.xml configuration file used

Annotations
@Deprecated
CLASS_CACHE_PREFIXback to summary
public static final String CLASS_CACHE_PREFIX
Annotations
@Deprecated
COLLECTION_CACHE_PREFIXback to summary
public static final String COLLECTION_CACHE_PREFIX
Annotations
@Deprecated
DELAY_CDI_ACCESSback to summary
public 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
DISCARD_PC_ON_CLOSEback to summary
public static final String DISCARD_PC_ON_CLOSE
Annotations
@Deprecated
ENHANCER_ENABLE_ASSOCIATION_MANAGEMENTback to summary
public static final String ENHANCER_ENABLE_ASSOCIATION_MANAGEMENT

Enable association management feature in runtime bytecode enhancement

ENHANCER_ENABLE_DIRTY_TRACKINGback to summary
public static final String ENHANCER_ENABLE_DIRTY_TRACKING

Enable dirty tracking feature in runtime bytecode enhancement

ENHANCER_ENABLE_LAZY_INITIALIZATIONback to summary
public static final String ENHANCER_ENABLE_LAZY_INITIALIZATION

Enable lazy loading feature in runtime bytecode enhancement

ENTITY_MANAGER_FACTORY_NAMEback to summary
public static final String ENTITY_MANAGER_FACTORY_NAME

EntityManagerFactory name

Annotations
@Deprecated
EVENT_LISTENER_PREFIXback to summary
public 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 ...

Annotations
@Deprecated
FLUSH_MODEback to summary
public static final String FLUSH_MODE

Used to determine flush mode.

HBXML_FILESback to summary
public static final String HBXML_FILES
Annotations
@Deprecated
IDENTIFIER_GENERATOR_STRATEGY_PROVIDERback to summary
public static final String IDENTIFIER_GENERATOR_STRATEGY_PROVIDER

IdentifierGeneratorStrategyProvider class name, the class must have a no-arg constructor

Annotations
@Deprecated
INTERCEPTORback to summary
public static final String INTERCEPTOR

Deprecated

(since 5.2) use org.hibernate.cfg.AvailableSettings#INTERCEPTOR instead

Annotations
@Deprecated
JDBC_DRIVERback to summary
public static final String JDBC_DRIVER

Deprecated

(since 5.2) use org.hibernate.cfg.AvailableSettings#JPA_JDBC_DRIVER instead

Annotations
@Deprecated
JDBC_PASSWORDback to summary
public static final String JDBC_PASSWORD

Deprecated

(since 5.2) use org.hibernate.cfg.AvailableSettings#JPA_JDBC_PASSWORD instead

Annotations
@Deprecated
JDBC_URLback to summary
public static final String JDBC_URL

Deprecated

(since 5.2) use org.hibernate.cfg.AvailableSettings#JPA_JDBC_URL instead

Annotations
@Deprecated
JDBC_USERback to summary
public static final String JDBC_USER

Deprecated

(since 5.2) use org.hibernate.cfg.AvailableSettings#JPA_JDBC_USER instead

Annotations
@Deprecated
JPA_METAMODEL_POPULATIONback to summary
public static final String JPA_METAMODEL_POPULATION

Setting 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.
Annotations
@Deprecated
JTA_DATASOURCEback to summary
public static final String JTA_DATASOURCE

Deprecated

(since 5.2) use org.hibernate.cfg.AvailableSettings#JPA_JTA_DATASOURCE instead

Annotations
@Deprecated
LOADED_CLASSESback to summary
public static final String LOADED_CLASSES
Annotations
@Deprecated
LOCK_SCOPEback to summary
public static final String LOCK_SCOPE

Deprecated

(since 5.2) use org.hibernate.cfg.AvailableSettings#JPA_LOCK_SCOPE instead

Annotations
@Deprecated
LOCK_TIMEOUTback to summary
public static final String LOCK_TIMEOUT

Deprecated

(since 5.2) use org.hibernate.cfg.AvailableSettings#JPA_LOCK_TIMEOUT instead

Annotations
@Deprecated
NON_JTA_DATASOURCEback to summary
public static final String NON_JTA_DATASOURCE
Annotations
@Deprecated
PERSIST_VALIDATION_GROUPback to summary
public static final String PERSIST_VALIDATION_GROUP
Annotations
@Deprecated
PERSISTENCE_UNIT_NAMEback to summary
public static final String PERSISTENCE_UNIT_NAME

Used to pass along the name of the persistence unit.

Annotations
@Deprecated
PROVIDERback to summary
public static final String PROVIDER
Annotations
@Deprecated
REMOVE_VALIDATION_GROUPback to summary
public static final String REMOVE_VALIDATION_GROUP
Annotations
@Deprecated
SCHEMA_GEN_CONNECTIONback to summary
public static final String SCHEMA_GEN_CONNECTION

Deprecated

(since 5.2) use org.hibernate.cfg.AvailableSettings#HBM2DDL_CONNECTION instead

Annotations
@Deprecated
SCHEMA_GEN_CREATE_SCHEMASback to summary
public static final String SCHEMA_GEN_CREATE_SCHEMAS
Annotations
@Deprecated
SCHEMA_GEN_CREATE_SCRIPT_SOURCEback to summary
public static final String SCHEMA_GEN_CREATE_SCRIPT_SOURCE
Annotations
@Deprecated
SCHEMA_GEN_CREATE_SOURCEback to summary
public static final String SCHEMA_GEN_CREATE_SOURCE
Annotations
@Deprecated
SCHEMA_GEN_DATABASE_ACTIONback to summary
public static final String SCHEMA_GEN_DATABASE_ACTION
Annotations
@Deprecated
SCHEMA_GEN_DB_MAJOR_VERSIONback to summary
public static final String SCHEMA_GEN_DB_MAJOR_VERSION
Annotations
@Deprecated
SCHEMA_GEN_DB_MINOR_VERSIONback to summary
public static final String SCHEMA_GEN_DB_MINOR_VERSION
Annotations
@Deprecated
SCHEMA_GEN_DB_NAMEback to summary
public static final String SCHEMA_GEN_DB_NAME

Deprecated

(since 5.2) use org.hibernate.cfg.AvailableSettings#HBM2DDL_DB_NAME instead

Annotations
@Deprecated
SCHEMA_GEN_DROP_SCRIPT_SOURCEback to summary
public static final String SCHEMA_GEN_DROP_SCRIPT_SOURCE
Annotations
@Deprecated
SCHEMA_GEN_DROP_SOURCEback to summary
public static final String SCHEMA_GEN_DROP_SOURCE
Annotations
@Deprecated
SCHEMA_GEN_LOAD_SCRIPT_SOURCEback to summary
public static final String SCHEMA_GEN_LOAD_SCRIPT_SOURCE
Annotations
@Deprecated
SCHEMA_GEN_SCRIPTS_ACTIONback to summary
public static final String SCHEMA_GEN_SCRIPTS_ACTION
Annotations
@Deprecated
SCHEMA_GEN_SCRIPTS_CREATE_TARGETback to summary
public static final String SCHEMA_GEN_SCRIPTS_CREATE_TARGET
Annotations
@Deprecated
SCHEMA_GEN_SCRIPTS_DROP_TARGETback to summary
public static final String SCHEMA_GEN_SCRIPTS_DROP_TARGET
Annotations
@Deprecated
SESSION_FACTORY_OBSERVERback to summary
public static final String SESSION_FACTORY_OBSERVER

SessionFactoryObserver class name, the class must have a no-arg constructor

Annotations
@Deprecated
SESSION_INTERCEPTORback to summary
public static final String SESSION_INTERCEPTOR
Annotations
@Deprecated
SHARED_CACHE_MODEback to summary
public static final String SHARED_CACHE_MODE
Annotations
@Deprecated
SHARED_CACHE_RETRIEVE_MODEback to summary
public static final String SHARED_CACHE_RETRIEVE_MODE
Annotations
@Deprecated
SHARED_CACHE_STORE_MODEback to summary
public static final String SHARED_CACHE_STORE_MODE
Annotations
@Deprecated
TRANSACTION_TYPEback to summary
public static final String TRANSACTION_TYPE
Annotations
@Deprecated
UPDATE_VALIDATION_GROUPback to summary
public static final String UPDATE_VALIDATION_GROUP
Annotations
@Deprecated
VALIDATION_FACTORYback to summary
public static final String VALIDATION_FACTORY
Annotations
@Deprecated
VALIDATION_MODEback to summary
public static final String VALIDATION_MODE
Annotations
@Deprecated
XML_FILE_NAMESback to summary
public static final String XML_FILE_NAMES
Annotations
@Deprecated