| 
 | ||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.hibernate.ejb.AvailableSettings
public class AvailableSettings
Defines the available HEM settings, both JPA-defined as well as Hibernate-specific
NOTE : Does *not* includeEnvironment values.
| Field Summary | |
|---|---|
| static String | ALIAS_SPECIFIC_LOCK_MODEQuery hint (aka Query.setHint(java.lang.String, java.lang.Object)) for applying
 an alias specific lock mode (akaQuery.setLockMode(java.lang.String, org.hibernate.LockMode)). | 
| static String | AUTODETECTIONJAR autodetection artifacts class, hbm | 
| static String | CFG_FILEcfg.xml configuration file used | 
| static String | CLASS_CACHE_PREFIXCaching configuration should follow the following pattern hibernate.ejb.classcache. | 
| static String | CLASS_NAMESList of classes names Internal use only | 
| static String | COLLECTION_CACHE_PREFIXCaching configuration should follow the following pattern hibernate.ejb.collectioncache. | 
| static String | CONFIGURATION_JNDI_NAMEConsider 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_CLOSEWhether or not discard persistent context on entityManager.close() The EJB3 compliant and default choice is false | 
| static String | EVENT_LISTENER_PREFIXEvent configuration should follow the following pattern hibernate.ejb.event.[eventType] f.q.c.n.EventListener1, f.q.c.n.EventListener12 ... | 
| static String | FLUSH_MODEUsed to determine flush mode. | 
| static String | HBXML_FILES | 
| static String | IDENTIFIER_GENERATOR_STRATEGY_PROVIDERIdentifierGeneratorStrategyRegisterer class name, the class must have a no-arg constructor | 
| static String | INTERCEPTORInterceptor 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_DRIVERThe name of a JDBC driver to use to connect to the database. | 
| static String | JDBC_PASSWORDThe JDBC connection password. | 
| static String | JDBC_URLThe JDBC connection url to use to connect to the database. | 
| static String | JDBC_USERThe JDBC connection user name. | 
| static String | JTA_DATASOURCEThe JNDI name of a JTA DataSource. | 
| static String | LOADED_CLASSES | 
| static String | LOCK_SCOPEUsed to request (hint) a pessimistic lock scope. | 
| static String | LOCK_TIMEOUTUsed to request (hint) a pessimistic lock timeout (in milliseconds). | 
| static String | NAMING_STRATEGYNaming strategy class name, the class has to have a no-arg constructor | 
| static String | NON_JTA_DATASOURCEThe JNDI name of a non-JTA DataSource. | 
| static String | PACKAGE_NAMESList of annotated packages Internal use only | 
| static String | PERSIST_VALIDATION_GROUPUsed to coordinate with bean validators See JPA 2 section 8.2.1.9 | 
| static String | PERSISTENCE_UNIT_NAME | 
| static String | PERSISTER_CLASS_PROVIDERPersisterClassProvider class name, the class must have a no-arg constructor | 
| static String | PROVIDERTHe name of the PersistenceProviderimplementor
 
 See JPA 2 sections 9.4.3 and 8.2.1.4 | 
| static String | REMOVE_VALIDATION_GROUPUsed to coordinate with bean validators See JPA 2 section 8.2.1.9 | 
| static String | SCANNERPass an implementation of Scanner:
  - preferably an actual instance
  - or a class name with a no-arg constructor | 
| static String | SESSION_FACTORY_OBSERVERSessionFactoryObserver class name, the class must have a no-arg constructor | 
| static String | SESSION_INTERCEPTORInterceptor class name, the class has to have a no-arg constructor | 
| static String | SHARED_CACHE_MODEUsed 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_MODENOTE : Not a valid EMF property... | 
| static String | SHARED_CACHE_STORE_MODENOTE : Not a valid EMF property... | 
| static String | TRANSACTION_TYPEThe type of transactions supported by the entity managers. | 
| static String | UPDATE_VALIDATION_GROUPUsed to coordinate with bean validators See JPA 2 section 8.2.1.9 | 
| static String | USE_CLASS_ENHANCEREnable the class file enhancement | 
| static String | VALIDATION_FACTORYUsed to pass along any discovered validator factory. | 
| static String | VALIDATION_MODEUsed 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_NAMESList of classes names Internal use only | 
| Constructor Summary | |
|---|---|
| AvailableSettings() | |
| Method Summary | 
|---|
| Methods inherited from class java.lang.Object | 
|---|
| clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait | 
| Field Detail | 
|---|
public static final String PROVIDER
PersistenceProvider implementor
 
 See JPA 2 sections 9.4.3 and 8.2.1.4
public static final String TRANSACTION_TYPE
public static final String JTA_DATASOURCE
DataSource.
 
 See JPA 2 sections 9.4.3 and 8.2.1.5
public static final String NON_JTA_DATASOURCE
DataSource.
 
 See JPA 2 sections 9.4.3 and 8.2.1.5
public 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.9
public 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.9
public 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.9
public 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.9
public 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 NAMING_STRATEGY
public static final String PERSISTER_CLASS_PROVIDER
public static final String SESSION_FACTORY_OBSERVER
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 constructor
public static final String CLASS_NAMES
public static final String PACKAGE_NAMES
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
| Constructor Detail | 
|---|
public AvailableSettings()
| 
 | ||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||