Top Fields
org.hibernate.cfg

public Interface AvailableSettings

extends AvailableSettings
Known Direct Implementers
org.hibernate.cfg.Environment
Imports
java.util.function.Supplier, javax.persistence.GeneratedValue, org.hibernate.HibernateException, .Transaction, org.hibernate.boot.MetadataBuilder, org.hibernate.boot.registry.classloading.internal.TcclLookupPrecedence, org.hibernate.cache.spi.TimestampsCacheFactory, org.hibernate.internal.log.DeprecationLogger, org.hibernate.jpa.spi.JpaCompliance, org.hibernate.query.ImmutableEntityUpdateQueryHandlingMode, org.hibernate.query.internal.ParameterMetadataImpl, org.hibernate.resource.beans.container.spi.ExtendedBeanManager, org.hibernate.resource.transaction.spi.TransactionCoordinator, .TransactionCoordinatorBuilder, org.hibernate.tool.schema.JdbcMetadaAccessStrategy, .SourceType

Deprecated

as a consequence of AvailableSettings being deprecated. See corresponding docs for further information.

Author
Steve Ebersole

Field Summary

Modifier and TypeField and Description
public static final String
ACQUIRE_CONNECTIONS

Specifies how Hibernate should acquire JDBC connections.

public static final String
ALLOW_ENHANCEMENT_AS_PROXY

Should Hibernate use enhanced entities "as a proxy"?

public static final String
ALLOW_JTA_TRANSACTION_ACCESS

Hides org.hibernate.jpa.AvailableSettings.ALLOW_JTA_TRANSACTION_ACCESS.

Setting that allows access to the underlying org.hibernate.Transaction, even when using a JTA since normal JPA operations prohibit this behavior.
public static final String
public static final String
ALLOW_UPDATE_OUTSIDE_TRANSACTION

Setting that allows to perform update operations outside of a transaction boundary.

public static final String
APP_CLASSLOADER

Names the ClassLoader used to load user application classes.

public static final String
ARTIFACT_PROCESSING_ORDER

Used to specify the order in which metadata sources should be processed.

public static final String
AUTO_CLOSE_SESSION

Enable automatic session close at end of transaction

public static final String
AUTO_EVICT_COLLECTION_CACHE

Enables the automatic eviction of a bi-directional association's collection cache when an element in the ManyToOne collection is added/updated/removed without properly managing the change on the OneToMany side.

public static final String
AUTO_SESSION_EVENTS_LISTENER

Defines a default org.hibernate.SessionEventListener to be applied to opened Sessions.

public static final String
AUTOCOMMIT

Controls the autocommit mode of JDBC Connections obtained from a non-DataSource ConnectionProvider - assuming the ConnectionProvider impl properly leverages this setting (the provided Hibernate impls all do).

public static final String
public static final String
BATCH_STRATEGY

Select a custom batcher.

public static final String
BATCH_VERSIONED_DATA

Should versioned data be included in batching?

public static final String
public static final String
BYTECODE_PROVIDER

Pick which bytecode enhancing library to use.

public static final String
C3P0_ACQUIRE_INCREMENT

Number of connections acquired when pool is exhausted

public static final String
C3P0_CONFIG_PREFIX

A setting prefix used to indicate settings that target the hibernate-c3p0 integration

public static final String
C3P0_IDLE_TEST_PERIOD

Idle time before a C3P0 pooled connection is validated

public static final String
C3P0_MAX_SIZE

Maximum size of C3P0 connection pool

public static final String
C3P0_MAX_STATEMENTS

Maximum size of C3P0 statement cache

public static final String
C3P0_MIN_SIZE

Minimum size of C3P0 connection pool

public static final String
C3P0_TIMEOUT

Maximum idle time for C3P0 connection pool

public static final String
CACHE_KEYS_FACTORY

Allow control to specify the org.hibernate.cache.spi.CacheKeysFactory impl to use.

public static final String
CACHE_PROVIDER_CONFIG

The CacheProvider implementation class

public static final String
public static final String
CACHE_REGION_PREFIX

The CacheProvider region name prefix

public static final String
CDI_BEAN_MANAGER

Hides org.hibernate.jpa.AvailableSettings.CDI_BEAN_MANAGER.

Used to pass along the CDI BeanManager, if any, to be used.
public static final String
CFG_XML_FILE

Used to specify a Hibernate cfg.xml config file

public static final String
CHECK_NULLABILITY

Enable nullability checking.

public static final String
CLASS_CACHE_PREFIX

Hides org.hibernate.jpa.AvailableSettings.CLASS_CACHE_PREFIX.

Caching configuration should follow the following pattern hibernate.ejb.classcache.
public static final String
CLASSLOADERS

Used to define a java.util.Collection of the ClassLoader instances Hibernate should use for class-loading and resource-lookups.

public static final String
COLLECTION_CACHE_PREFIX

Hides org.hibernate.jpa.AvailableSettings.COLLECTION_CACHE_PREFIX.

Caching configuration should follow the following pattern hibernate.ejb.collectioncache.
public static final String
COLLECTION_JOIN_SUBQUERY

Setting which indicates whether or not the new JOINS over collection tables should be rewritten to subqueries.

public static final String
CONNECTION_HANDLING

Specifies how Hibernate should manage JDBC connections in terms of acquiring and releasing.

public static final String
CONNECTION_PREFIX

Names a prefix used to define arbitrary JDBC connection properties.

public static final String
public static final String
CONNECTION_PROVIDER_DISABLES_AUTOCOMMIT

Allows a user to tell Hibernate that the Connections we obtain from the configured ConnectionProvider will already have auto-commit disabled when we acquire them from the provider.

public static final String
CONVENTIONAL_JAVA_CONSTANTS

Setting which indicates whether or not Java constant follow the Java Naming conventions.

public static final String
CREATE_EMPTY_COMPOSITES_ENABLED

[EXPERIMENTAL] Enable instantiation of composite/embedded objects when all of its attribute values are null.

public static final String
CRITERIA_LITERAL_HANDLING_MODE

By default, Criteria queries uses bind parameters for any literal that is not a numeric value.

public static final String
public static final String
public static final String
public static final String
DEFAULT_BATCH_FETCH_SIZE

The default batch size for batch fetching

public static final String
DEFAULT_CACHE_CONCURRENCY_STRATEGY

Setting used to give the name of the default org.hibernate.annotations.CacheConcurrencyStrategy to use when either @Cacheable or @Cache is used.

public static final String
DEFAULT_CATALOG

A default database catalog name to use for unqualified tablenames

public static final String
DEFAULT_ENTITY_MODE

The EntityMode in which set the Session opened from the SessionFactory.

public static final String
DEFAULT_NULL_ORDERING

Default precedence of null values in ORDER BY clause.

public static final String
DEFAULT_SCHEMA

A default database schema (owner) name to use for unqualified tablenames

public static final String
DELAY_ENTITY_LOADER_CREATIONS

Controls how the individual Loaders for an entity are created.

public static final String
public static final String
DIALECT

Names the Hibernate SQL org.hibernate.dialect.Dialect class

public static final String
public static final String
public static final String
DRIVER

Names the JDBC driver class

public static final String
EMF_NAME

EntityManagerFactory name.

public static final String
public static final String
ENABLE_SYNONYMS

If enabled, allows schema update and validation to support synonyms.

public static final String
ENFORCE_LEGACY_PROXY_CLASSNAMES

Configure the global BytecodeProvider implementation to generate class names matching the existing naming patterns.

public static final String
ENVIRONMENT_CLASSLOADER

Names the ClassLoader used when Hibernate is unable to locate classes on the APP_CLASSLOADER or HIBERNATE_CLASSLOADER.

public static final String
EVENT_LISTENER_PREFIX

Hides org.hibernate.jpa.AvailableSettings.EVENT_LISTENER_PREFIX.

Event configuration should follow the following pattern hibernate.event.listener.[eventType] f.q.c.n.EventListener1, f.q.c.n.EventListener12 ...
public static final String
EXTRA_PHYSICAL_TABLE_TYPES

Identifies a comma-separate list of values to specify extra table types, other than the default "TABLE" value, to recognize as defining a physical table by schema update, creation and validation.

public static final String
FAIL_ON_PAGINATION_OVER_COLLECTION_FETCH

Raises an exception when in-memory pagination over collection fetch is about to be performed.

public static final String
FLUSH_BEFORE_COMPLETION

Enable automatic flush during the JTA beforeCompletion() callback

public static final String
public static final String
FORMAT_SQL

Enable formatting of SQL logged to the console

public static final String
GENERATE_STATISTICS

Enable statistics collection

public static final String
GLOBALLY_QUOTED_IDENTIFIERS

Should all database identifiers be quoted.

public static final String
GLOBALLY_QUOTED_IDENTIFIERS_SKIP_COLUMN_DEFINITIONS

Assuming GLOBALLY_QUOTED_IDENTIFIERS, this allows such global quoting to skip column-definitions as defined by javax.persistence.Column, javax.persistence.JoinColumn, etc.

JPA states that column-definitions are subject to global quoting, so by default this setting is false for JPA compliance.

public static final String
HBM2DDL_AUTO

Setting to perform SchemaManagementTool actions automatically as part of the SessionFactory lifecycle.

public static final String
HBM2DDL_CHARSET_NAME

The name of the charset used by the schema generation resource.

public static final String
HBM2DDL_CONNECTION

Allows passing a specific java.sql.Connection instance to be used by SchemaManagementTool.

public static final String
HBM2DDL_CREATE_NAMESPACES

Specifies whether to automatically create also the database schema/catalog.

public static final String
HBM2DDL_CREATE_SCHEMAS

The JPA variant of HBM2DDL_CREATE_NAMESPACES

Specifies whether the persistence provider is to create the database schema(s) in addition to creating database objects (tables, sequences, constraints, etc).

public static final String
HBM2DDL_CREATE_SCRIPT_SOURCE

Specifies the CREATE script file as either a java.io.Reader configured for reading of the DDL script file or a string designating a file java.net.URL for the DDL script.

public static final String
HBM2DDL_CREATE_SOURCE

Specifies whether schema generation commands for schema creation are to be determined based on object/relational mapping metadata, DDL scripts, or a combination of the two.

public static final String
HBM2DDL_DATABASE_ACTION

Setting to perform SchemaManagementTool actions against the database directly via JDBC automatically as part of the SessionFactory lifecycle.

public static final String
HBM2DDL_DB_MAJOR_VERSION

Specifies the major version of the underlying database, as would be returned by java.sql.DatabaseMetaData#getDatabaseMajorVersion for the target database.

public static final String
HBM2DDL_DB_MINOR_VERSION

Specifies the minor version of the underlying database, as would be returned by java.sql.DatabaseMetaData#getDatabaseMinorVersion for the target database.

public static final String
HBM2DDL_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).

public static final String
HBM2DDL_DEFAULT_CONSTRAINT_MODE

This setting is used when you use javax.persistence.ConstraintMode#PROVIDER_DEFAULT strategy for foreign key mapping.

public static final String
HBM2DDL_DELIMITER

Identifies the delimiter to use to separate schema management statements in script outputs.

public static final String
HBM2DDL_DROP_SCRIPT_SOURCE

Specifies the DROP script file as either a java.io.Reader configured for reading of the DDL script file or a string designating a file java.net.URL for the DDL script.

public static final String
HBM2DDL_DROP_SOURCE

Specifies whether schema generation commands for schema dropping are to be determined based on object/relational mapping metadata, DDL scripts, or a combination of the two.

public static final String
HBM2DDL_FILTER_PROVIDER

Used to specify the org.hibernate.tool.schema.spi.SchemaFilterProvider to be used by create, drop, migrate and validate operations on the database schema.

public static final String
HBM2DDL_HALT_ON_ERROR

Whether the schema migration tool should halt on error, therefore terminating the bootstrap process.

public static final String
HBM2DDL_IMPORT_FILES

Comma-separated names of the optional files containing SQL DML statements executed during the SessionFactory creation.

public static final String
public static final String
HBM2DDL_JDBC_METADATA_EXTRACTOR_STRATEGY

Setting to choose the strategy used to access the JDBC Metadata.

public static final String
HBM2DDL_LOAD_SCRIPT_SOURCE

JPA variant of HBM2DDL_IMPORT_FILES

Specifies a java.io.Reader configured for reading of the SQL load script or a string designating the file java.net.URL for the SQL load script.

public static final String
HBM2DDL_SCRIPTS_ACTION

Setting to perform SchemaManagementTool actions writing the commands into a DDL script file.

public static final String
HBM2DDL_SCRIPTS_CREATE_APPEND

For cases where the javax.persistence.schema-generation.scripts.action value indicates that schema commands should be written to DDL script file, specifies if schema commands should be appended to the end of the file rather than written at the beginning of the file.

public static final String
HBM2DDL_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 java.io.Writer configured for output of the DDL script or a string specifying the file URL for the DDL script.

public static final String
HBM2DDL_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 java.io.Writer configured for output of the DDL script or a string specifying the file URL for the DDL script.

public static final String
HBM2DLL_CREATE_NAMESPACES

Specifies whether to automatically create also the database schema/catalog.

public static final String
HBM2DLL_CREATE_SCHEMAS

Deprecated Use HBM2DDL_CREATE_SCHEMAS instead: this variable name had a typo.
public static final String
public static final String
HIBERNATE_CLASSLOADER

Names the ClassLoader responsible for loading Hibernate classes.

public static final String
HIGHLIGHT_SQL

Enable highlighting of SQL logged to the console using ANSI escape codes

public static final String
public static final String
IDENTIFIER_GENERATOR_STRATEGY_PROVIDER

Hides org.hibernate.jpa.AvailableSettings.IDENTIFIER_GENERATOR_STRATEGY_PROVIDER.

IdentifierGeneratorStrategyProvider class name, the class must have a no-arg constructor
public static final String
IGNORE_EXPLICIT_DISCRIMINATOR_COLUMNS_FOR_JOINED_SUBCLASS

The legacy behavior of Hibernate is to not use discriminators for joined inheritance (Hibernate does not need the discriminator...).

public static final String
IMMUTABLE_ENTITY_UPDATE_QUERY_HANDLING_MODE

This setting defines how org.hibernate.annotations.Immutable entities are handled when executing a bulk update javax.persistence.Query.

public static final String
IMPLICIT_DISCRIMINATOR_COLUMNS_FOR_JOINED_SUBCLASS

The legacy behavior of Hibernate is to not use discriminators for joined inheritance (Hibernate does not need the discriminator...).

public static final String
public static final String
IN_CLAUSE_PARAMETER_PADDING

By default, the IN clause expands to include all bind parameter values.

public static final String
INTERCEPTOR

Hides org.hibernate.jpa.AvailableSettings.INTERCEPTOR.

Names a org.hibernate.Interceptor implementation to be applied to the org.hibernate.SessionFactory and propagated to each Session created from the SessionFactory.
public static final String
ISOLATION

Names the JDBC transaction isolation level

public static final String
JACC_CONTEXT_ID

Deprecated Support for JACC will be removed in 6.0
public static final String
JACC_ENABLED

Deprecated Support for JACC will be removed in 6.0
public static final String
JACC_PREFIX

Deprecated Support for JACC will be removed in 6.0
public static final String
JAKARTA_CDI_BEAN_MANAGER

Used to pass along the CDI BeanManager, if any, to be used.

public static final String
JAKARTA_HBM2DDL_CONNECTION

Allows passing a specific java.sql.Connection instance to be used by SchemaManagementTool.

public static final String
JAKARTA_HBM2DDL_CREATE_SCHEMAS

The JPA variant of HBM2DDL_CREATE_NAMESPACES

Specifies whether the persistence provider is to create the database schema(s) in addition to creating database objects (tables, sequences, constraints, etc).

public static final String
JAKARTA_HBM2DDL_CREATE_SCRIPT_SOURCE

Specifies the CREATE script file as either a java.io.Reader configured for reading of the DDL script file or a string designating a file java.net.URL for the DDL script.

public static final String
JAKARTA_HBM2DDL_CREATE_SOURCE

Specifies whether schema generation commands for schema creation are to be determined based on object/relational mapping metadata, DDL scripts, or a combination of the two.

public static final String
JAKARTA_HBM2DDL_DATABASE_ACTION

Setting to perform SchemaManagementTool actions against the database directly via JDBC automatically as part of the SessionFactory lifecycle.

public static final String
JAKARTA_HBM2DDL_DB_MAJOR_VERSION

Specifies the major version of the underlying database, as would be returned by java.sql.DatabaseMetaData#getDatabaseMajorVersion for the target database.

public static final String
JAKARTA_HBM2DDL_DB_MINOR_VERSION

Specifies the minor version of the underlying database, as would be returned by java.sql.DatabaseMetaData#getDatabaseMinorVersion for the target database.

public static final String
JAKARTA_HBM2DDL_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).

public static final String
JAKARTA_HBM2DDL_DROP_SCRIPT_SOURCE

Specifies the DROP script file as either a java.io.Reader configured for reading of the DDL script file or a string designating a file java.net.URL for the DDL script.

public static final String
JAKARTA_HBM2DDL_DROP_SOURCE

Specifies whether schema generation commands for schema dropping are to be determined based on object/relational mapping metadata, DDL scripts, or a combination of the two.

public static final String
JAKARTA_HBM2DDL_LOAD_SCRIPT_SOURCE

JPA variant of HBM2DDL_IMPORT_FILES

Specifies a java.io.Reader configured for reading of the SQL load script or a string designating the file java.net.URL for the SQL load script.

public static final String
JAKARTA_HBM2DDL_SCRIPTS_ACTION

Setting to perform SchemaManagementTool actions writing the commands into a DDL script file.

public static final String
JAKARTA_HBM2DDL_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 java.io.Writer configured for output of the DDL script or a string specifying the file URL for the DDL script.

public static final String
JAKARTA_HBM2DDL_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 java.io.Writer configured for output of the DDL script or a string specifying the file URL for the DDL script.

public static final String
JAKARTA_JPA_JDBC_DRIVER

The name of a JDBC driver to use to connect to the database.

public static final String
JAKARTA_JPA_JDBC_PASSWORD

The JDBC connection password.

public static final String
JAKARTA_JPA_JDBC_URL

The JDBC connection url to use to connect to the database.

public static final String
JAKARTA_JPA_JDBC_USER

The JDBC connection user name.

public static final String
public static final String
JAKARTA_JPA_LOCK_SCOPE

Used to request (hint) a pessimistic lock scope.

public static final String
JAKARTA_JPA_LOCK_TIMEOUT

Used to request (hint) a pessimistic lock timeout (in milliseconds).

public static final String
public static final String
JAKARTA_JPA_PERSIST_VALIDATION_GROUP

Used to coordinate with bean validators

See JPA 2 section 8.2.1.9

public static final String
JAKARTA_JPA_PERSISTENCE_PROVIDER

The name of the javax.persistence.spi.PersistenceProvider implementor

See JPA 2 sections 9.4.3 and 8.2.1.4

public static final String
JAKARTA_JPA_REMOVE_VALIDATION_GROUP

Used to coordinate with bean validators

See JPA 2 section 8.2.1.9

public static final String
JAKARTA_JPA_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.

public static final String
JAKARTA_JPA_SHARED_CACHE_RETRIEVE_MODE

NOTE : Not a valid EMF property...

public static final String
JAKARTA_JPA_SHARED_CACHE_STORE_MODE

NOTE : Not a valid EMF property...

public static final String
JAKARTA_JPA_TRANSACTION_TYPE

The type of transactions supported by the entity managers.

public static final String
JAKARTA_JPA_UPDATE_VALIDATION_GROUP

Used to coordinate with bean validators

See JPA 2 section 8.2.1.9

public static final String
JAKARTA_JPA_VALIDATION_FACTORY

Used to pass along any discovered validator factory.

public static final String
JAKARTA_JPA_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

public static final String
JDBC_TIME_ZONE

Default JDBC TimeZone.

public static final String
JDBC_TYLE_PARAMS_ZERO_BASE

`true` / `false - should zero be used as the base for JDBC-style parameters found in native-queries?

public static final String
JMX_AGENT_ID

Deprecated Scheduled for removal in 6.0; see https://hibernate.atlassian.net/browse/HHH-14847 and https://hibernate.atlassian.net/browse/HHH-14846
public static final String
JMX_DEFAULT_OBJ_NAME_DOMAIN

Deprecated Scheduled for removal in 6.0; see https://hibernate.atlassian.net/browse/HHH-14847 and https://hibernate.atlassian.net/browse/HHH-14846
public static final String
JMX_DOMAIN_NAME

Deprecated Scheduled for removal in 6.0; see https://hibernate.atlassian.net/browse/HHH-14847 and https://hibernate.atlassian.net/browse/HHH-14846
public static final String
JMX_ENABLED

Deprecated Scheduled for removal in 6.0; see https://hibernate.atlassian.net/browse/HHH-14847 and https://hibernate.atlassian.net/browse/HHH-14846
public static final String
JMX_PLATFORM_SERVER

Deprecated Scheduled for removal in 6.0; see https://hibernate.atlassian.net/browse/HHH-14847 and https://hibernate.atlassian.net/browse/HHH-14846
public static final String
JMX_SF_NAME

Deprecated Scheduled for removal in 6.0; see https://hibernate.atlassian.net/browse/HHH-14847 and https://hibernate.atlassian.net/browse/HHH-14846
public static final String
public static final String
JNDI_PREFIX

Names a prefix used to define arbitrary JNDI javax.naming.InitialContext properties.

public static final String
JNDI_URL

Names the JNDI provider/connection url

public static final String
public static final String
JPA_CALLBACKS_ENABLED

JPA Callbacks are enabled by default.

public static final String
JPA_CLOSED_COMPLIANCE

JPA defines specific exceptions on specific methods when called on javax.persistence.EntityManager and javax.persistence.EntityManagerFactory when those objects have been closed.

public static final String
JPA_ID_GENERATOR_GLOBAL_SCOPE_COMPLIANCE

Determine if the scope of javax.persistence.TableGenerator#name() and javax.persistence.SequenceGenerator#name() should be considered globally or locally defined.

public static final String
JPA_JDBC_DRIVER

The name of a JDBC driver to use to connect to the database.

public static final String
JPA_JDBC_PASSWORD

The JDBC connection password.

public static final String
JPA_JDBC_URL

The JDBC connection url to use to connect to the database.

public static final String
JPA_JDBC_USER

The JDBC connection user name.

public static final String
public static final String
JPA_LIST_COMPLIANCE

Controls whether Hibernate should recognize what it considers a "bag" (org.hibernate.collection.internal.PersistentBag) as a List (org.hibernate.collection.internal.PersistentList) or as a bag.

public static final String
JPA_LOCK_SCOPE

Used to request (hint) a pessimistic lock scope.

public static final String
JPA_LOCK_TIMEOUT

Used to request (hint) a pessimistic lock timeout (in milliseconds).

public static final String
public static final String
JPA_METAMODEL_POPULATION

Hides org.hibernate.jpa.AvailableSettings.JPA_METAMODEL_POPULATION.

Setting that indicates whether to build the JPA types.
public static final String
JPA_NON_JTA_DATASOURCE

The JNDI name of a non-JTA javax.sql.DataSource.

public static final String
JPA_PERSIST_VALIDATION_GROUP

Used to coordinate with bean validators

See JPA 2 section 8.2.1.9

public static final String
JPA_PERSISTENCE_PROVIDER

The name of the javax.persistence.spi.PersistenceProvider implementor

See JPA 2 sections 9.4.3 and 8.2.1.4

public static final String
JPA_PROXY_COMPLIANCE

The JPA spec says that a javax.persistence.EntityNotFoundException should be thrown when accessing an entity Proxy which does not have an associated table row in the database.

public static final String
JPA_QUERY_COMPLIANCE

Controls whether Hibernate's handling of javax.persistence.Query (JPQL, Criteria and native-query) should strictly follow the JPA spec.

public static final String
JPA_REMOVE_VALIDATION_GROUP

Used to coordinate with bean validators

See JPA 2 section 8.2.1.9

public static final String
JPA_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.

public static final String
JPA_SHARED_CACHE_RETRIEVE_MODE

NOTE : Not a valid EMF property...

public static final String
JPA_SHARED_CACHE_STORE_MODE

NOTE : Not a valid EMF property...

public static final String
JPA_TRANSACTION_COMPLIANCE

Should Hibernate's Transaction behave as defined by the spec for JPA's javax.persistence.EntityTransaction since it extends the JPA one.

public static final String
JPA_TRANSACTION_TYPE

The type of transactions supported by the entity managers.

public static final String
JPA_UPDATE_VALIDATION_GROUP

Used to coordinate with bean validators

See JPA 2 section 8.2.1.9

public static final String
JPA_VALIDATION_FACTORY

Used to pass along any discovered validator factory.

public static final String
JPA_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

public static final String
public static final String
JTA_CACHE_TM

A configuration value key used to indicate that it is safe to cache javax.transaction.TransactionManager references.

public static final String
JTA_CACHE_UT

A configuration value key used to indicate that it is safe to cache javax.transaction.UserTransaction references.

public static final String
JTA_PLATFORM

Names the org.hibernate.engine.transaction.jta.platform.spi.JtaPlatform implementation to use for integrating with JTA systems.

public static final String
public static final String
JTA_TRACK_BY_THREAD

A transaction can be rolled back by another thread ("tracking by thread") -- not the original application.

public static final String
KEYWORD_AUTO_QUOTING_ENABLED

Specifies whether to automatically quote any names that are deemed keywords.

public static final String
public static final String
LOG_JDBC_WARNINGS

Enable fetching JDBC statement warning for logging.

public static final String
LOG_SESSION_METRICS

A setting to control whether to org.hibernate.engine.internal.StatisticalLoggingSessionEventListener is enabled on all Sessions (unless explicitly disabled for a given Session).

public static final String
LOG_SLOW_QUERY

Setting that logs query which executed slower than specified milliseconds.

public static final String
MAX_FETCH_DEPTH

Maximum depth of outer join fetching

public static final String
MERGE_ENTITY_COPY_OBSERVER

Setting that specifies how Hibernate will respond when multiple representations of the same persistent entity ("entity copy") is detected while merging.

public static final String
MULTI_TENANT

Strategy for multi-tenancy.

public static final String
public static final String
public static final String
NATIVE_EXCEPTION_HANDLING_51_COMPLIANCE

Indicates if exception handling for a SessionFactory built via Hibernate's native bootstrapping should behave the same as native exception handling in Hibernate ORM 5.1, When set to true, HibernateException will not be wrapped or converted according to the JPA specification.

public static final String
NON_CONTEXTUAL_LOB_CREATION

Should we not use contextual LOB creation (aka based on java.sql.Connection#createBlob() et al).

public static final String
OMIT_JOIN_OF_SUPERCLASS_TABLES

When you use javax.persistence.InheritanceType#JOINED strategy for inheritance mapping and query a value from an entity, all superclass tables are joined in the query regardless you need them.

public static final String
ORDER_INSERTS

Enable ordering of insert statements for the purpose of more efficient JDBC batching.

public static final String
ORDER_UPDATES

Enable ordering of update statements by primary key value

public static final String
public static final String
PASS

Names the connection password.

public static final String
PERSISTENCE_UNIT_NAME

Hides org.hibernate.jpa.AvailableSettings.PERSISTENCE_UNIT_NAME.

Used to pass along the name of the persistence unit.
public static final String
public static final String
POOL_SIZE

Maximum number of inactive connections for the built-in Hibernate connection pool.

public static final String
PREFER_GENERATOR_NAME_AS_DEFAULT_SEQUENCE_NAME

True/false setting indicating whether the value specified for GeneratedValue#generator() should be used as the sequence/table name when no matching javax.persistence.SequenceGenerator or javax.persistence.TableGenerator is found.

public static final String
PREFER_POOLED_VALUES_LO

When using pooled optimizers, prefer interpreting the database value as the lower (lo) boundary.

public static final String
public static final String
PREFERRED_POOLED_OPTIMIZER

When a generator specified an increment-size and an optimizer was not explicitly specified, which of the "pooled" optimizers should be preferred?

public static final String
PROCEDURE_NULL_PARAM_PASSING

Global setting for whether NULL parameter bindings should be passed to database procedure/function calls as part of org.hibernate.procedure.ProcedureCall handling.

public static final String
PROXOOL_CONFIG_PREFIX

A setting prefix used to indicate settings that target the hibernate-proxool integration

public static final String
PROXOOL_EXISTING_POOL

Proxool property to configure the Proxool Provider from an already existing pool (true / false)

public static final String
PROXOOL_POOL_ALIAS

Proxool property with the Proxool pool alias to use (Required for PROXOOL_EXISTING_POOL, PROXOOL_PROPERTIES, or PROXOOL_XML)

public static final String
PROXOOL_PREFIX

Proxool/Hibernate property prefix

public static final String
PROXOOL_PROPERTIES

Proxool property to configure the Proxool Provider using a properties file (/path/to/proxool.properties)

public static final String
PROXOOL_XML

Proxool property to configure the Proxool Provider using an XML (/path/to/file.xml)

public static final String
public static final String
public static final String
QUERY_PLAN_CACHE_MAX_SOFT_REFERENCES

The maximum number of soft references maintained by org.hibernate.engine.query.spi.QueryPlanCache.

public static final String
QUERY_PLAN_CACHE_MAX_STRONG_REFERENCES

The maximum number of strong references maintained by org.hibernate.engine.query.spi.QueryPlanCache.

public static final String
public static final String
QUERY_STARTUP_CHECKING

Should named queries be checked during startup (the default is enabled).

public static final String
QUERY_STATISTICS_MAX_SIZE

This setting controls the number of org.hibernate.stat.QueryStatistics entries that will be stored by the Hibernate org.hibernate.stat.Statistics object.

public static final String
QUERY_SUBSTITUTIONS

A comma-separated list of token substitutions to use when translating a Hibernate query to SQL

public static final String
QUERY_TRANSLATOR

The classname of the HQL query parser factory

public static final String
RELEASE_CONNECTIONS

Specifies how Hibernate should release JDBC connections.

public static final String
RESOURCES_CLASSLOADER

Names the ClassLoader Hibernate should use to perform resource loading.

public static final String
public static final String
public static final String
SCANNER_DEPRECATED

The deprecated name.

public static final String
SCANNER_DISCOVERY

Identifies a comma-separate list of values indicating the types of things we should auto-detect during scanning.

public static final String
SCHEMA_MANAGEMENT_TOOL

Used to specify the org.hibernate.tool.schema.spi.SchemaManagementTool to use for performing schema management.

public static final String
SEQUENCE_INCREMENT_SIZE_MISMATCH_STRATEGY

This setting defines the org.hibernate.id.SequenceMismatchStrategy used when Hibernate detects a mismatch between a sequence configuration in an entity mapping and its database sequence object counterpart.

public static final String
SESSION_FACTORY_NAME

Setting used to name the Hibernate org.hibernate.SessionFactory.

public static final String
SESSION_FACTORY_NAME_IS_JNDI

Does the value defined by SESSION_FACTORY_NAME represent a JNDI namespace into which the org.hibernate.SessionFactory should be bound and made accessible?

public static final String
SESSION_FACTORY_OBSERVER

Hides org.hibernate.jpa.AvailableSettings.SESSION_FACTORY_OBSERVER.

SessionFactoryObserver class name, the class must have a no-arg constructor
public static final String
SESSION_SCOPED_INTERCEPTOR

Names a org.hibernate.Interceptor implementation to be applied to the org.hibernate.SessionFactory and propagated to each Session created from the SessionFactory.

public static final String
SHOW_SQL

Enable logging of generated SQL to the console

public static final String
SQL_EXCEPTION_CONVERTER

The org.hibernate.exception.spi.SQLExceptionConverter to use for converting SQLExceptions to Hibernate's JDBCException hierarchy.

public static final String
STATEMENT_BATCH_SIZE

Maximum JDBC batch size.

public static final String
STATEMENT_FETCH_SIZE

Gives the JDBC driver a hint as to the number of rows that should be fetched from the database when more rows are needed.

public static final String
public static final String
STATIC_METAMODEL_POPULATION

Setting that controls whether we seek out JPA "static metamodel" classes and populate them.

public static final String
STORAGE_ENGINE

Defines the default storage engine for the relational databases that support multiple storage engines.

public static final String
TABLE_GENERATOR_STORE_LAST_USED

True/False setting indicating if the value stored in the table used by the javax.persistence.TableGenerator is the last value generated or the next value to be used.

public static final String
TC_CLASSLOADER

Used to define how the current thread context ClassLoader must be used for class lookup.

public static final String
TRANSACTION_COORDINATOR_STRATEGY

Names the implementation of TransactionCoordinatorBuilder to use for creating TransactionCoordinator instances.

public static final String
UNIQUE_CONSTRAINT_SCHEMA_UPDATE_STRATEGY

Unique columns and unique keys both use unique constraints in most dialects.

public static final String
URL

Names the JDBC connection url.

public static final String
USE_DIRECT_REFERENCE_CACHE_ENTRIES

Enable direct storage of entity references into the second level cache when applicable (immutable data, etc).

public static final String
USE_ENTITY_WHERE_CLAUSE_FOR_COLLECTIONS

Controls whether an entity's "where" clause, mapped using @Where(clause="....") or <entity ...

public static final String
USE_GET_GENERATED_KEYS

Tells the JDBC driver to attempt to retrieve row Id with the JDBC 3.0 PreparedStatement.getGeneratedKeys() method.

public static final String
public static final String
USE_LEGACY_LIMIT_HANDLERS

Setting which indicates whether or not to use org.hibernate.dialect.pagination.LimitHandler implementations that sacrifices performance optimizations to allow legacy 4.x limit behavior.

public static final String
USE_MINIMAL_PUTS

Optimize the cache for minimal puts instead of minimal gets

public static final String
USE_NATIONALIZED_CHARACTER_DATA

Enable nationalized character support on all string / clob based attribute ( string, char, clob, text etc ).

public static final String
USE_NEW_ID_GENERATOR_MAPPINGS

Setting which indicates whether or not the new org.hibernate.id.IdentifierGenerator are used for AUTO, TABLE and SEQUENCE.

public static final String
USE_QUERY_CACHE

Enable the query cache (disabled by default)

public static final String
USE_REFLECTION_OPTIMIZER

Use bytecode libraries optimized property access

public static final String
USE_SCROLLABLE_RESULTSET

Use JDBC scrollable ResultSets.

public static final String
USE_SECOND_LEVEL_CACHE

Enable the second-level cache.

public static final String
USE_SQL_COMMENTS

Add comments to the generated SQL

public static final String
USE_STREAMS_FOR_BINARY

Use java.io streams to read / write binary data from / to JDBC

public static final String
USE_STRUCTURED_CACHE

Enable use of structured second-level cache entries

public static final String
USER

Names the connection user.

public static final String
VALIDATE_QUERY_PARAMETERS

Setting which indicates if org.hibernate.query.Query#setParameter should not perform parameters validation This setting is applied only when the Session is bootstrapped via JPA javax.persistence.EntityManagerFactory Values are: true indicates the validation should be performed, false otherwise

The default value is true when the Session is bootstrapped via JPA javax.persistence.EntityManagerFactory, otherwise is false

public static final String
WRAP_RESULT_SETS

Enable wrapping of JDBC result sets in order to speed up column name lookups for broken JDBC drivers

public static final String
XML_MAPPING_ENABLED

Allows to skip processing of XML Mapping.

Inherited from org.hibernate.jpa.AvailableSettings:
ALIAS_SPECIFIC_LOCK_MODECFG_FILEDELAY_CDI_ACCESSENHANCER_ENABLE_ASSOCIATION_MANAGEMENTENHANCER_ENABLE_DIRTY_TRACKINGENHANCER_ENABLE_LAZY_INITIALIZATIONENTITY_MANAGER_FACTORY_NAMEFLUSH_MODEHBXML_FILESJDBC_DRIVERJDBC_PASSWORDJDBC_URLJDBC_USERJTA_DATASOURCELOCK_SCOPELOCK_TIMEOUTNON_JTA_DATASOURCEPERSIST_VALIDATION_GROUPPROVIDERREMOVE_VALIDATION_GROUPSCHEMA_GEN_CONNECTIONSCHEMA_GEN_CREATE_SCHEMASSCHEMA_GEN_CREATE_SCRIPT_SOURCESCHEMA_GEN_CREATE_SOURCESCHEMA_GEN_DATABASE_ACTIONSCHEMA_GEN_DB_MAJOR_VERSIONSCHEMA_GEN_DB_MINOR_VERSIONSCHEMA_GEN_DB_NAMESCHEMA_GEN_DROP_SCRIPT_SOURCESCHEMA_GEN_DROP_SOURCESCHEMA_GEN_LOAD_SCRIPT_SOURCESCHEMA_GEN_SCRIPTS_ACTIONSCHEMA_GEN_SCRIPTS_CREATE_TARGETSCHEMA_GEN_SCRIPTS_DROP_TARGETSESSION_INTERCEPTORSHARED_CACHE_MODESHARED_CACHE_RETRIEVE_MODESHARED_CACHE_STORE_MODETRANSACTION_TYPEUPDATE_VALIDATION_GROUPVALIDATION_FACTORYVALIDATION_MODEXML_FILE_NAMES