AvailableSettings
instead. Will be removed in 6.0@Deprecated public interface AvailableSettings
Environment
values.@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.HBM2DDL_CREATE_NAMESPACES
or AvailableSettings.HBM2DDL_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"
.@Deprecated static final String CFG_FILE
AvailableSettings.CFG_XML_FILE
@Deprecated static final String CLASS_CACHE_PREFIX
AvailableSettings.CLASS_CACHE_PREFIX
@Deprecated static final String COLLECTION_CACHE_PREFIX
AvailableSettings.COLLECTION_CACHE_PREFIX
@Deprecated static final String SESSION_FACTORY_OBSERVER
AvailableSettings.SESSION_FACTORY_OBSERVER
instead@Deprecated static final String IDENTIFIER_GENERATOR_STRATEGY_PROVIDER
AvailableSettings.IDENTIFIER_GENERATOR_STRATEGY_PROVIDER
instead@Deprecated static final String EVENT_LISTENER_PREFIX
AvailableSettings.EVENT_LISTENER_PREFIX
insteadstatic final String ENHANCER_ENABLE_DIRTY_TRACKING
static final String ENHANCER_ENABLE_LAZY_INITIALIZATION
static final String ENHANCER_ENABLE_ASSOCIATION_MANAGEMENT
@Deprecated static final String DISCARD_PC_ON_CLOSE
AvailableSettings.DISCARD_PC_ON_CLOSE
insteadstatic final String FLUSH_MODE
@Deprecated static final String ENTITY_MANAGER_FACTORY_NAME
AvailableSettings.EMF_NAME
instead@Deprecated static final String XML_FILE_NAMES
AvailableSettings.ORM_XML_FILES
@Deprecated static final String HBXML_FILES
AvailableSettings.HBM_XML_FILES
@Deprecated static final String LOADED_CLASSES
AvailableSettings.LOADED_CLASSES
@Deprecated static final String PERSISTENCE_UNIT_NAME
AvailableSettings.PERSISTENCE_UNIT_NAME
insteadstatic 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 © 2001-2021 Red Hat, Inc. All Rights Reserved.