public interface AvailableSettings
Environment
values.Modifier and Type | Field and Description |
---|---|
static String |
ALIAS_SPECIFIC_LOCK_MODE
Query hint (aka
Query.setHint(java.lang.String, java.lang.Object) ) for applying
an alias specific lock mode (aka Query.setLockMode(java.lang.String, org.hibernate.LockMode) ). |
static String |
ALLOW_JTA_TRANSACTION_ACCESS
Setting that allows access to the underlying
Transaction , even
when using a JTA since normal JPA operations prohibit this behavior. |
static String |
CDI_BEAN_MANAGER
Deprecated.
(since 5.2) use
AvailableSettings.CDI_BEAN_MANAGER instead |
static String |
CFG_FILE
cfg.xml configuration file used
|
static String |
CLASS_CACHE_PREFIX
Caching configuration should follow the following pattern
hibernate.ejb.classcache.
|
static String |
COLLECTION_CACHE_PREFIX
Caching configuration should follow the following pattern
hibernate.ejb.collectioncache.
|
static String |
DELAY_CDI_ACCESS
Defines delayed access to CDI BeanManager.
|
static String |
DISCARD_PC_ON_CLOSE
Whether or not discard persistent context on entityManager.close()
The EJB3 compliant and default choice is false
|
static String |
ENHANCER_ENABLE_ASSOCIATION_MANAGEMENT
Enable association management feature in runtime bytecode enhancement
|
static String |
ENHANCER_ENABLE_DIRTY_TRACKING
Enable dirty tracking feature in runtime bytecode enhancement
|
static String |
ENHANCER_ENABLE_LAZY_INITIALIZATION
Enable lazy loading feature in runtime bytecode enhancement
|
static String |
ENTITY_MANAGER_FACTORY_NAME
EntityManagerFactory name
|
static 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 ...
|
static String |
FLUSH_MODE
Used to determine flush mode.
|
static String |
HBXML_FILES |
static String |
IDENTIFIER_GENERATOR_STRATEGY_PROVIDER
IdentifierGeneratorStrategyProvider class name, the class must have a no-arg constructor
|
static String |
INTERCEPTOR
Deprecated.
(since 5.2) use
AvailableSettings.INTERCEPTOR instead |
static String |
JDBC_DRIVER
Deprecated.
(since 5.2) use
AvailableSettings.JPA_JDBC_DRIVER instead |
static String |
JDBC_PASSWORD
Deprecated.
(since 5.2) use
AvailableSettings.JPA_JDBC_PASSWORD instead |
static String |
JDBC_URL
Deprecated.
(since 5.2) use
AvailableSettings.JPA_JDBC_URL instead |
static String |
JDBC_USER
Deprecated.
(since 5.2) use
AvailableSettings.JPA_JDBC_USER instead |
static String |
JPA_METAMODEL_POPULATION
Deprecated.
use
AvailableSettings.STATIC_METAMODEL_POPULATION instead |
static String |
JTA_DATASOURCE
Deprecated.
(since 5.2) use
AvailableSettings.JPA_JTA_DATASOURCE instead |
static String |
LOADED_CLASSES |
static String |
LOCK_SCOPE
Deprecated.
(since 5.2) use
AvailableSettings.JPA_LOCK_SCOPE instead |
static String |
LOCK_TIMEOUT
Deprecated.
(since 5.2) use
AvailableSettings.JPA_LOCK_TIMEOUT instead |
static String |
NON_JTA_DATASOURCE
Deprecated.
(since 5.2) use
AvailableSettings.JPA_NON_JTA_DATASOURCE instead |
static String |
PERSIST_VALIDATION_GROUP
Deprecated.
(since 5.2) use
AvailableSettings.JPA_PERSIST_VALIDATION_GROUP instead |
static String |
PERSISTENCE_UNIT_NAME
Used to pass along the name of the persistence unit.
|
static String |
PROVIDER
Deprecated.
(since 5.2) use
AvailableSettings.JPA_PERSISTENCE_PROVIDER instead |
static String |
REMOVE_VALIDATION_GROUP
Deprecated.
(since 5.2) use
AvailableSettings.JPA_REMOVE_VALIDATION_GROUP instead |
static String |
SCHEMA_GEN_CONNECTION
Deprecated.
(since 5.2) use
AvailableSettings.HBM2DDL_CONNECTION instead |
static String |
SCHEMA_GEN_CREATE_SCHEMAS
Deprecated.
(since 5.2) use
AvailableSettings.HBM2DLL_CREATE_NAMESPACES
or AvailableSettings.HBM2DLL_CREATE_SCHEMAS instead |
static String |
SCHEMA_GEN_CREATE_SCRIPT_SOURCE
Deprecated.
(since 5.2) use
AvailableSettings.HBM2DDL_CREATE_SCRIPT_SOURCE instead |
static String |
SCHEMA_GEN_CREATE_SOURCE
Deprecated.
(since 5.2) use
AvailableSettings.HBM2DDL_CREATE_SOURCE instead |
static String |
SCHEMA_GEN_DATABASE_ACTION
Deprecated.
(since 5.2) use
AvailableSettings.HBM2DDL_DATABASE_ACTION instead |
static String |
SCHEMA_GEN_DB_MAJOR_VERSION
Deprecated.
(since 5.2) use
AvailableSettings.HBM2DDL_DB_MAJOR_VERSION instead |
static String |
SCHEMA_GEN_DB_MINOR_VERSION
Deprecated.
(since 5.2) use
AvailableSettings.HBM2DDL_DB_MINOR_VERSION instead |
static String |
SCHEMA_GEN_DB_NAME
Deprecated.
(since 5.2) use
AvailableSettings.HBM2DDL_DB_NAME instead |
static String |
SCHEMA_GEN_DROP_SCRIPT_SOURCE
Deprecated.
(since 5.2) use
AvailableSettings.HBM2DDL_DROP_SCRIPT_SOURCE instead |
static String |
SCHEMA_GEN_DROP_SOURCE
Deprecated.
(since 5.2) use
AvailableSettings.HBM2DDL_DROP_SOURCE instead |
static String |
SCHEMA_GEN_LOAD_SCRIPT_SOURCE
Deprecated.
(since 5.2) use
AvailableSettings.HBM2DDL_LOAD_SCRIPT_SOURCE instead |
static String |
SCHEMA_GEN_SCRIPTS_ACTION
Deprecated.
(since 5.2) use
AvailableSettings.HBM2DDL_SCRIPTS_ACTION instead |
static String |
SCHEMA_GEN_SCRIPTS_CREATE_TARGET
Deprecated.
(since 5.2) use
AvailableSettings.HBM2DDL_SCRIPTS_CREATE_TARGET instead |
static String |
SCHEMA_GEN_SCRIPTS_DROP_TARGET
Deprecated.
(since 5.2) use
AvailableSettings.HBM2DDL_SCRIPTS_DROP_TARGET instead |
static String |
SESSION_FACTORY_OBSERVER
SessionFactoryObserver class name, the class must have a no-arg constructor
|
static String |
SESSION_INTERCEPTOR
Deprecated.
(since 5.2) use
AvailableSettings.SESSION_SCOPED_INTERCEPTOR instead |
static String |
SHARED_CACHE_MODE
Deprecated.
(since 5.2) use
AvailableSettings.JPA_SHARED_CACHE_MODE instead |
static String |
SHARED_CACHE_RETRIEVE_MODE
Deprecated.
(since 5.2) use
AvailableSettings.JPA_SHARED_CACHE_RETRIEVE_MODE instead |
static String |
SHARED_CACHE_STORE_MODE
Deprecated.
(since 5.2) use
AvailableSettings.JPA_SHARED_CACHE_STORE_MODE instead |
static String |
TRANSACTION_TYPE
Deprecated.
(since 5.2) use
AvailableSettings.JPA_TRANSACTION_TYPE instead |
static String |
UPDATE_VALIDATION_GROUP
Deprecated.
(since 5.2) use
AvailableSettings.JPA_UPDATE_VALIDATION_GROUP instead |
static String |
VALIDATION_FACTORY
Deprecated.
(since 5.2) use
AvailableSettings.JPA_VALIDATION_FACTORY instead |
static String |
VALIDATION_MODE
Deprecated.
(since 5.2) use
AvailableSettings.JPA_VALIDATION_MODE instead |
static String |
XML_FILE_NAMES
List of classes names
Internal use only
|
@Deprecated static final String PROVIDER
AvailableSettings.JPA_PERSISTENCE_PROVIDER
instead@Deprecated static final String TRANSACTION_TYPE
AvailableSettings.JPA_TRANSACTION_TYPE
instead@Deprecated static final String JTA_DATASOURCE
AvailableSettings.JPA_JTA_DATASOURCE
instead@Deprecated static final String NON_JTA_DATASOURCE
AvailableSettings.JPA_NON_JTA_DATASOURCE
instead@Deprecated static final String JDBC_DRIVER
AvailableSettings.JPA_JDBC_DRIVER
instead@Deprecated static final String JDBC_URL
AvailableSettings.JPA_JDBC_URL
instead@Deprecated static final String JDBC_USER
AvailableSettings.JPA_JDBC_USER
instead@Deprecated static final String JDBC_PASSWORD
AvailableSettings.JPA_JDBC_PASSWORD
instead@Deprecated static final String SHARED_CACHE_MODE
AvailableSettings.JPA_SHARED_CACHE_MODE
instead@Deprecated static final String SHARED_CACHE_RETRIEVE_MODE
AvailableSettings.JPA_SHARED_CACHE_RETRIEVE_MODE
instead@Deprecated static final String SHARED_CACHE_STORE_MODE
AvailableSettings.JPA_SHARED_CACHE_STORE_MODE
instead@Deprecated static final String VALIDATION_MODE
AvailableSettings.JPA_VALIDATION_MODE
instead@Deprecated static final String VALIDATION_FACTORY
AvailableSettings.JPA_VALIDATION_FACTORY
instead@Deprecated static final String PERSIST_VALIDATION_GROUP
AvailableSettings.JPA_PERSIST_VALIDATION_GROUP
instead@Deprecated static final String UPDATE_VALIDATION_GROUP
AvailableSettings.JPA_UPDATE_VALIDATION_GROUP
instead@Deprecated static final String REMOVE_VALIDATION_GROUP
AvailableSettings.JPA_REMOVE_VALIDATION_GROUP
instead@Deprecated static final String LOCK_SCOPE
AvailableSettings.JPA_LOCK_SCOPE
instead@Deprecated static final String LOCK_TIMEOUT
AvailableSettings.JPA_LOCK_TIMEOUT
instead@Deprecated static final String CDI_BEAN_MANAGER
AvailableSettings.CDI_BEAN_MANAGER
instead@Deprecated static final String SCHEMA_GEN_CREATE_SOURCE
AvailableSettings.HBM2DDL_CREATE_SOURCE
instead@Deprecated static final String SCHEMA_GEN_DROP_SOURCE
AvailableSettings.HBM2DDL_DROP_SOURCE
instead@Deprecated static final String SCHEMA_GEN_CREATE_SCRIPT_SOURCE
AvailableSettings.HBM2DDL_CREATE_SCRIPT_SOURCE
instead@Deprecated static final String SCHEMA_GEN_DROP_SCRIPT_SOURCE
AvailableSettings.HBM2DDL_DROP_SCRIPT_SOURCE
instead@Deprecated static final String SCHEMA_GEN_DATABASE_ACTION
AvailableSettings.HBM2DDL_DATABASE_ACTION
instead@Deprecated static final String SCHEMA_GEN_SCRIPTS_ACTION
AvailableSettings.HBM2DDL_SCRIPTS_ACTION
instead@Deprecated static final String SCHEMA_GEN_SCRIPTS_CREATE_TARGET
AvailableSettings.HBM2DDL_SCRIPTS_CREATE_TARGET
instead@Deprecated static final String SCHEMA_GEN_SCRIPTS_DROP_TARGET
AvailableSettings.HBM2DDL_SCRIPTS_DROP_TARGET
instead@Deprecated static final String SCHEMA_GEN_CREATE_SCHEMAS
AvailableSettings.HBM2DLL_CREATE_NAMESPACES
or AvailableSettings.HBM2DLL_CREATE_SCHEMAS
instead@Deprecated static final String SCHEMA_GEN_CONNECTION
AvailableSettings.HBM2DDL_CONNECTION
instead@Deprecated static final String SCHEMA_GEN_DB_NAME
AvailableSettings.HBM2DDL_DB_NAME
instead@Deprecated static final String SCHEMA_GEN_DB_MAJOR_VERSION
AvailableSettings.HBM2DDL_DB_MAJOR_VERSION
instead@Deprecated static final String SCHEMA_GEN_DB_MINOR_VERSION
AvailableSettings.HBM2DDL_DB_MINOR_VERSION
instead@Deprecated static final String SCHEMA_GEN_LOAD_SCRIPT_SOURCE
AvailableSettings.HBM2DDL_LOAD_SCRIPT_SOURCE
instead@Deprecated static final String JPA_METAMODEL_POPULATION
AvailableSettings.STATIC_METAMODEL_POPULATION
instead@Deprecated static final String INTERCEPTOR
AvailableSettings.INTERCEPTOR
instead@Deprecated static final String SESSION_INTERCEPTOR
AvailableSettings.SESSION_SCOPED_INTERCEPTOR
insteadstatic final String ALIAS_SPECIFIC_LOCK_MODE
Query.setHint(java.lang.String, java.lang.Object)
) for applying
an alias specific lock mode (aka Query.setLockMode(java.lang.String, org.hibernate.LockMode)
).
Either LockMode
or LockModeType
are accepted. Also the String names of either are accepted as well. null
is additionally accepted as meaning 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"
.static final String CFG_FILE
static final String CLASS_CACHE_PREFIX
static final String COLLECTION_CACHE_PREFIX
static final String SESSION_FACTORY_OBSERVER
static final String IDENTIFIER_GENERATOR_STRATEGY_PROVIDER
static final String EVENT_LISTENER_PREFIX
static final String ENHANCER_ENABLE_DIRTY_TRACKING
static final String ENHANCER_ENABLE_LAZY_INITIALIZATION
static final String ENHANCER_ENABLE_ASSOCIATION_MANAGEMENT
static final String DISCARD_PC_ON_CLOSE
static final String FLUSH_MODE
static final String ENTITY_MANAGER_FACTORY_NAME
static final String XML_FILE_NAMES
static final String HBXML_FILES
static final String LOADED_CLASSES
static final String PERSISTENCE_UNIT_NAME
static final String DELAY_CDI_ACCESS
static final String ALLOW_JTA_TRANSACTION_ACCESS
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.Copyright © 2019 JBoss by Red Hat. All rights reserved.