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
Allows passing the specific
Connection instance to be used for performing schema generation
where the target is "database". |
static String |
SCHEMA_GEN_CREATE_SCHEMAS
Specifies whether the persistence provider is to create the database schema(s) in addition to creating
database objects (tables, sequences, constraints, etc).
|
static String |
SCHEMA_GEN_CREATE_SCRIPT_SOURCE
|
static String |
SCHEMA_GEN_CREATE_SOURCE
Specifies whether schema generation commands for schema creation are to be determine based on object/relational
mapping metadata, DDL scripts, or a combination of the two.
|
static String |
SCHEMA_GEN_DATABASE_ACTION
Specifies the type of schema generation action to be taken by the persistence provider in regards to sending
commands directly to the database via JDBC.
|
static String |
SCHEMA_GEN_DB_MAJOR_VERSION
Specifies the major version of the underlying database, as would be returned by
DatabaseMetaData.getDatabaseMajorVersion() for the target database. |
static String |
SCHEMA_GEN_DB_MINOR_VERSION
Specifies the minor version of the underlying database, as would be returned by
DatabaseMetaData.getDatabaseMinorVersion() for the target database. |
static String |
SCHEMA_GEN_DB_NAME
Specifies the name of the database provider in cases where a Connection to the underlying database is
not available (aka, mainly in generating scripts).
|
static String |
SCHEMA_GEN_DROP_SCRIPT_SOURCE
|
static String |
SCHEMA_GEN_DROP_SOURCE
Specifies whether schema generation commands for schema dropping are to be determine based on object/relational
mapping metadata, DDL scripts, or a combination of the two.
|
static String |
SCHEMA_GEN_LOAD_SCRIPT_SOURCE
|
static String |
SCHEMA_GEN_SCRIPTS_ACTION
Specifies the type of schema generation action to be taken by the persistence provider in regards to writing
commands to DDL script files.
|
static String |
SCHEMA_GEN_SCRIPTS_CREATE_TARGET
For cases where the "javax.persistence.schema-generation.scripts.action" value indicates that schema creation commands should
be written to DDL script file, "javax.persistence.schema-generation.scripts.create-target" specifies either a
Writer configured for output of the DDL script or a string specifying the file URL for the DDL
script. |
static String |
SCHEMA_GEN_SCRIPTS_DROP_TARGET
For cases where the "javax.persistence.schema-generation.scripts.action" value indicates that schema drop commands should
be written to DDL script file, "javax.persistence.schema-generation.scripts.drop-target" specifies either a
Writer configured for output of the DDL script or a string specifying the file URL for the DDL
script. |
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
SchemaGenSource
for valid set of values.
If no value is specified, a default is assumed as follows:SchemaGenSource
,
Constant Field Valuesstatic final String SCHEMA_GEN_DROP_SOURCE
SchemaGenSource
for valid set of values.
If no value is specified, a default is assumed as follows:SchemaGenSource
,
Constant Field Valuesstatic final String SCHEMA_GEN_CREATE_SCRIPT_SOURCE
static final String SCHEMA_GEN_DROP_SCRIPT_SOURCE
static final String SCHEMA_GEN_DATABASE_ACTION
SchemaGenAction
for the set of possible values.
If no value is specified, the default is "none".SchemaGenAction
,
Constant Field Valuesstatic final String SCHEMA_GEN_SCRIPTS_ACTION
SchemaGenAction
for the set of possible values.
If no value is specified, the default is "none".SchemaGenAction
,
Constant Field Valuesstatic final String SCHEMA_GEN_SCRIPTS_CREATE_TARGET
Writer
configured for output of the DDL script or a string specifying the file URL for the DDL
script.SCHEMA_GEN_SCRIPTS_ACTION
,
Constant Field Valuesstatic final String SCHEMA_GEN_SCRIPTS_DROP_TARGET
Writer
configured for output of the DDL script or a string specifying the file URL for the DDL
script.SCHEMA_GEN_SCRIPTS_ACTION
,
Constant Field Valuesstatic final String SCHEMA_GEN_CREATE_SCHEMAS
true
if the persistence provider is to create schemas in the database or to generate DDL that
contains "CREATE SCHEMA" commands. If this property is not supplied (or is explicitly false
), the
provider should not attempt to create database schemas.static final String SCHEMA_GEN_CONNECTION
Connection
instance to be used for performing schema generation
where the target is "database".
May also be used to determine the values for "javax.persistence.database-product-name",
"javax.persistence.database-major-version" and "javax.persistence.database-minor-version".static final String SCHEMA_GEN_DB_NAME
DatabaseMetaData.getDatabaseProductName()
for the target database.
Additionally specifying "javax.persistence.database-major-version" and/or "javax.persistence.database-minor-version"
may be required to understand exactly how to generate the required schema commands.static final String SCHEMA_GEN_DB_MAJOR_VERSION
DatabaseMetaData.getDatabaseMajorVersion()
for the target database. This value is used to
help more precisely determine how to perform schema generation tasks for the underlying database in cases
where "javax.persistence.database-product-name" does not provide enough distinction.static final String SCHEMA_GEN_DB_MINOR_VERSION
DatabaseMetaData.getDatabaseMinorVersion()
for the target database. This value is used to
help more precisely determine how to perform schema generation tasks for the underlying database in cases
where te combination of "javax.persistence.database-product-name" and "javax.persistence.database-major-version" does not provide
enough distinction.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 © 2001-2017 Red Hat, Inc. All Rights Reserved.