public class AvailableSettings extends Object
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
JAR autodetection artifacts class, hbm
|
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
List of classes names
Internal use only
|
static String |
COLLECTION_CACHE_PREFIX
Caching configuration should follow the following pattern
hibernate.ejb.collectioncache.
|
static String |
CONFIGURATION_JNDI_NAME
Consider this as experimental
It is not recommended to set up this property, the configuration is stored
in the JNDI in a serialized form
|
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 |
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 |
static String |
JACC_ENABLED |
static String |
JACC_PREFIX |
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
Naming strategy class name, the class has to have a no-arg constructor
|
static String |
NON_JTA_DATASOURCE
The JNDI name of a non-JTA
DataSource . |
static String |
PACKAGE_NAMES
List of annotated packages
Internal use only
|
static String |
PERSIST_VALIDATION_GROUP
Used to coordinate with bean validators
See JPA 2 section 8.2.1.9
|
static String |
PERSISTENCE_UNIT_NAME |
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
Pass an implementation of
Scanner :
- preferably an actual instance
- or a class name with a no-arg constructor |
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
Enable the class file enhancement
|
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
|
Constructor and Description |
---|
AvailableSettings() |
public static final String PROVIDER
PersistenceProvider
implementor
See JPA 2 sections 9.4.3 and 8.2.1.4public static final String TRANSACTION_TYPE
public static final String JTA_DATASOURCE
DataSource
.
See JPA 2 sections 9.4.3 and 8.2.1.5public static final String NON_JTA_DATASOURCE
DataSource
.
See JPA 2 sections 9.4.3 and 8.2.1.5public static 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.9public static 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.9public static 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.9public static 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.9public static final String SHARED_CACHE_MODE
SharedCacheMode
,
Constant Field Valuespublic static final String SHARED_CACHE_RETRIEVE_MODE
CacheRetrieveMode
,
Constant Field Valuespublic static final String SHARED_CACHE_STORE_MODE
CacheStoreMode
,
Constant Field Valuespublic static final String VALIDATION_MODE
ValidationMode
,
Constant Field Valuespublic static final String VALIDATION_FACTORY
public static final String LOCK_SCOPE
public static final String LOCK_TIMEOUT
public static final String PERSIST_VALIDATION_GROUP
public static final String UPDATE_VALIDATION_GROUP
public static final String REMOVE_VALIDATION_GROUP
public 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"
.public static final String AUTODETECTION
public static final String CFG_FILE
public static final String CLASS_CACHE_PREFIX
public static final String COLLECTION_CACHE_PREFIX
public static final String INTERCEPTOR
public static final String SESSION_INTERCEPTOR
public static final String SESSION_FACTORY_OBSERVER
public static final String NAMING_STRATEGY
public static final String IDENTIFIER_GENERATOR_STRATEGY_PROVIDER
public static final String EVENT_LISTENER_PREFIX
public static final String USE_CLASS_ENHANCER
public static final String DISCARD_PC_ON_CLOSE
public static final String CONFIGURATION_JNDI_NAME
public static final String FLUSH_MODE
public static final String SCANNER
Scanner
:
- preferably an actual instance
- or a class name with a no-arg constructorpublic static final String CLASS_NAMES
public static final String PACKAGE_NAMES
public static final String ENTITY_MANAGER_FACTORY_NAME
@Deprecated public static final String JPA_METAMODEL_GENERATION
JPA_METAMODEL_POPULATION
instead.public static final String JPA_METAMODEL_POPULATION
public static final String XML_FILE_NAMES
public static final String HBXML_FILES
public static final String LOADED_CLASSES
public static final String JACC_CONTEXT_ID
public static final String JACC_PREFIX
public static final String JACC_ENABLED
public static final String PERSISTENCE_UNIT_NAME
Copyright © 2012 JBoss by Red Hat. All Rights Reserved.