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 |
AUTODETECTION
Deprecated.
Use
AvailableSettings.SCANNER_DISCOVERY instead |
static String |
CDI_BEAN_MANAGER
Used to pass along the CDI BeanManager, if any, to be used.
|
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 |
CLASS_NAMES
Deprecated.
Was never intended for external use
|
static String |
COLLECTION_CACHE_PREFIX
Caching configuration should follow the following pattern
hibernate.ejb.collectioncache.
|
static String |
CONFIGURATION_JNDI_NAME
Deprecated.
Configuration going away.
|
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
Deprecated.
if possible wait of Hibernate 4.1 and theService registry (MutableIdentifierGeneratorStrategy service)
|
static String |
INTERCEPTOR
Interceptor class name, the class has to have a no-arg constructor
the interceptor instance is shared amongst all EntityManager of a given EntityManagerFactory
|
static String |
JACC_CONTEXT_ID
Deprecated.
Use
AvailableSettings.JACC_CONTEXT_ID instead |
static String |
JACC_ENABLED
Deprecated.
Use
AvailableSettings.JACC_ENABLED instead |
static String |
JACC_PREFIX
Deprecated.
Use
AvailableSettings.JACC_PREFIX instead |
static String |
JDBC_DRIVER
The name of a JDBC driver to use to connect to the database.
|
static String |
JDBC_PASSWORD
The JDBC connection password.
|
static String |
JDBC_URL
The JDBC connection url to use to connect to the database.
|
static String |
JDBC_USER
The JDBC connection user name.
|
static String |
JPA_METAMODEL_GENERATION
Deprecated.
use
JPA_METAMODEL_POPULATION instead. |
static String |
JPA_METAMODEL_POPULATION
Setting that controls whether we seek out JPA "static metamodel" classes and populate them.
|
static String |
JTA_DATASOURCE
The JNDI name of a JTA
DataSource . |
static String |
LOADED_CLASSES |
static String |
LOCK_SCOPE
Used to request (hint) a pessimistic lock scope.
|
static String |
LOCK_TIMEOUT
Used to request (hint) a pessimistic lock timeout (in milliseconds).
|
static String |
NAMING_STRATEGY
Deprecated.
|
static String |
NON_JTA_DATASOURCE
The JNDI name of a non-JTA
DataSource . |
static String |
PACKAGE_NAMES
Deprecated.
Was never intended for external use
|
static String |
PERSIST_VALIDATION_GROUP
Used to coordinate with bean validators
See JPA 2 section 8.2.1.9
|
static String |
PERSISTENCE_UNIT_NAME
Used to pass along the name of the persistence unit.
|
static String |
PROVIDER
THe name of the
PersistenceProvider implementor
See JPA 2 sections 9.4.3 and 8.2.1.4 |
static String |
REMOVE_VALIDATION_GROUP
Used to coordinate with bean validators
See JPA 2 section 8.2.1.9
|
static String |
SCANNER
Deprecated.
Prefer
AvailableSettings.SCANNER instead |
static String |
SCHEMA_GEN_CONNECTION |
static String |
SCHEMA_GEN_CREATE_SCHEMAS |
static String |
SCHEMA_GEN_CREATE_SCRIPT_SOURCE |
static String |
SCHEMA_GEN_CREATE_SOURCE |
static String |
SCHEMA_GEN_DATABASE_ACTION |
static String |
SCHEMA_GEN_DB_MAJOR_VERSION |
static String |
SCHEMA_GEN_DB_MINOR_VERSION |
static String |
SCHEMA_GEN_DB_NAME |
static String |
SCHEMA_GEN_DROP_SCRIPT_SOURCE |
static String |
SCHEMA_GEN_DROP_SOURCE |
static String |
SCHEMA_GEN_LOAD_SCRIPT_SOURCE
|
static String |
SCHEMA_GEN_SCRIPTS_ACTION |
static String |
SCHEMA_GEN_SCRIPTS_CREATE_TARGET |
static String |
SCHEMA_GEN_SCRIPTS_DROP_TARGET |
static String |
SESSION_FACTORY_OBSERVER
SessionFactoryObserver class name, the class must have a no-arg constructor
|
static String |
SESSION_INTERCEPTOR
Interceptor class name, the class has to have a no-arg constructor
|
static String |
SHARED_CACHE_MODE
Used to indicate whether second-level (what JPA terms shared cache) caching is
enabled as per the rules defined in JPA 2 section 3.1.7.
|
static String |
SHARED_CACHE_RETRIEVE_MODE
NOTE : Not a valid EMF property...
|
static String |
SHARED_CACHE_STORE_MODE
NOTE : Not a valid EMF property...
|
static String |
TRANSACTION_TYPE
The type of transactions supported by the entity managers.
|
static String |
UPDATE_VALIDATION_GROUP
Used to coordinate with bean validators
See JPA 2 section 8.2.1.9
|
static String |
USE_CLASS_ENHANCER
Deprecated.
Split into multiple 'hibernate.enhancer.enable[]' properties
|
static String |
VALIDATION_FACTORY
Used to pass along any discovered validator factory.
|
static String |
VALIDATION_MODE
Used to indicate what form of automatic validation is in effect as per rules defined
in JPA 2 section 3.6.1.1
See JPA 2 sections 9.4.3 and 8.2.1.8
|
static String |
XML_FILE_NAMES
List of classes names
Internal use only
|
static final String PROVIDER
PersistenceProvider
implementor
See JPA 2 sections 9.4.3 and 8.2.1.4static final String TRANSACTION_TYPE
static final String JTA_DATASOURCE
DataSource
.
See JPA 2 sections 9.4.3 and 8.2.1.5static final String NON_JTA_DATASOURCE
DataSource
.
See JPA 2 sections 9.4.3 and 8.2.1.5static final String JDBC_DRIVER
JDBC_URL
, JDBC_USER
and JDBC_PASSWORD
to define how to make connections to the database in lieu of
a datasource (either JTA_DATASOURCE
or NON_JTA_DATASOURCE
).
See section 8.2.1.9static final String JDBC_URL
JDBC_DRIVER
, JDBC_USER
and JDBC_PASSWORD
to define how to make connections to the database in lieu of
a datasource (either JTA_DATASOURCE
or NON_JTA_DATASOURCE
).
See section 8.2.1.9static final String JDBC_USER
JDBC_DRIVER
, JDBC_URL
and JDBC_PASSWORD
to define how to make connections to the database in lieu of
a datasource (either JTA_DATASOURCE
or NON_JTA_DATASOURCE
).
See section 8.2.1.9static final String JDBC_PASSWORD
JDBC_DRIVER
, JDBC_URL
and JDBC_USER
to define how to make connections to the database in lieu of
a datasource (either JTA_DATASOURCE
or NON_JTA_DATASOURCE
).
See JPA 2 section 8.2.1.9static final String SHARED_CACHE_MODE
SharedCacheMode
,
Constant Field Valuesstatic final String SHARED_CACHE_RETRIEVE_MODE
CacheRetrieveMode
,
Constant Field Valuesstatic final String SHARED_CACHE_STORE_MODE
CacheStoreMode
,
Constant Field Valuesstatic final String VALIDATION_MODE
ValidationMode
,
Constant Field Valuesstatic final String VALIDATION_FACTORY
static final String LOCK_SCOPE
static final String LOCK_TIMEOUT
static final String PERSIST_VALIDATION_GROUP
static final String UPDATE_VALIDATION_GROUP
static final String REMOVE_VALIDATION_GROUP
static final String CDI_BEAN_MANAGER
static final String SCHEMA_GEN_CREATE_SOURCE
static final String SCHEMA_GEN_DROP_SOURCE
static final String SCHEMA_GEN_CREATE_SCRIPT_SOURCE
static final String SCHEMA_GEN_DROP_SCRIPT_SOURCE
static final String SCHEMA_GEN_DATABASE_ACTION
static final String SCHEMA_GEN_SCRIPTS_ACTION
static final String SCHEMA_GEN_SCRIPTS_CREATE_TARGET
static final String SCHEMA_GEN_SCRIPTS_DROP_TARGET
static final String SCHEMA_GEN_CREATE_SCHEMAS
static final String SCHEMA_GEN_CONNECTION
static final String SCHEMA_GEN_DB_NAME
static final String SCHEMA_GEN_DB_MAJOR_VERSION
static final String SCHEMA_GEN_DB_MINOR_VERSION
static final String SCHEMA_GEN_LOAD_SCRIPT_SOURCE
Reader
configured for reading of the SQL load script or a string designating the
file URL
for the SQL load script.
A "SQL load script" is a script that performs some database initialization (INSERT, etc).static 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 AUTODETECTION
AvailableSettings.SCANNER_DISCOVERY
insteadstatic final String CFG_FILE
static final String CLASS_CACHE_PREFIX
static final String COLLECTION_CACHE_PREFIX
static final String INTERCEPTOR
static final String SESSION_INTERCEPTOR
static final String SESSION_FACTORY_OBSERVER
@Deprecated static final String NAMING_STRATEGY
AvailableSettings.IMPLICIT_NAMING_STRATEGY
or AvailableSettings.PHYSICAL_NAMING_STRATEGY
instead@Deprecated static final String IDENTIFIER_GENERATOR_STRATEGY_PROVIDER
static final String EVENT_LISTENER_PREFIX
@Deprecated static final String USE_CLASS_ENHANCER
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
@Deprecated static final String CONFIGURATION_JNDI_NAME
static final String FLUSH_MODE
@Deprecated static final String SCANNER
AvailableSettings.SCANNER
instead@Deprecated static final String CLASS_NAMES
@Deprecated static final String PACKAGE_NAMES
static final String ENTITY_MANAGER_FACTORY_NAME
@Deprecated static final String JPA_METAMODEL_GENERATION
JPA_METAMODEL_POPULATION
instead.static final String JPA_METAMODEL_POPULATION
static final String XML_FILE_NAMES
static final String HBXML_FILES
static final String LOADED_CLASSES
@Deprecated static final String JACC_CONTEXT_ID
AvailableSettings.JACC_CONTEXT_ID
instead@Deprecated static final String JACC_PREFIX
AvailableSettings.JACC_PREFIX
instead@Deprecated static final String JACC_ENABLED
AvailableSettings.JACC_ENABLED
insteadstatic final String PERSISTENCE_UNIT_NAME
static final String DELAY_CDI_ACCESS
Copyright © 2017 JBoss by Red Hat. All rights reserved.