public interface AvailableSettings
Modifier and Type | Field and Description |
---|---|
static String |
APP_CLASSLOADER
Deprecated.
Use
CLASSLOADERS instead |
static String |
ARTIFACT_PROCESSING_ORDER
Used to specify the order in which metadata sources should be processed.
|
static String |
AUTO_CLOSE_SESSION
Enable automatic session close at end of transaction
|
static 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.
|
static String |
AUTO_SESSION_EVENTS_LISTENER
Defines a default
SessionEventListener to be applied to opened Sessions. |
static String |
AUTOCOMMIT
Names the JDBC autocommit mode
|
static String |
BATCH_FETCH_STYLE
Names the
BatchFetchStyle to use. |
static String |
BATCH_STRATEGY
Select a custom batcher.
|
static String |
BATCH_VERSIONED_DATA
Should versioned data be included in batching?
|
static String |
BYTECODE_PROVIDER |
static String |
C3P0_ACQUIRE_INCREMENT
Number of connections acquired when pool is exhausted
|
static String |
C3P0_CONFIG_PREFIX
A setting prefix used to indicate settings that target the hibernate-c3p0 integration
|
static String |
C3P0_IDLE_TEST_PERIOD
Idle time before a C3P0 pooled connection is validated
|
static String |
C3P0_MAX_SIZE
Maximum size of C3P0 connection pool
|
static String |
C3P0_MAX_STATEMENTS
Maximum size of C3P0 statement cache
|
static String |
C3P0_MIN_SIZE
Minimum size of C3P0 connection pool
|
static String |
C3P0_TIMEOUT
Maximum idle time for C3P0 connection pool
|
static String |
CACHE_PROVIDER_CONFIG
The CacheProvider implementation class
|
static String |
CACHE_REGION_FACTORY
The
RegionFactory implementation class |
static String |
CACHE_REGION_PREFIX
The CacheProvider region name prefix
|
static String |
CHECK_NULLABILITY
Enable nullability checking.
|
static String |
CLASSLOADERS
Used to define a
Collection of the ClassLoader instances Hibernate should use for
class-loading and resource-lookups. |
static String |
CONNECTION_PREFIX
Names a prefix used to define arbitrary JDBC connection properties.
|
static String |
CONNECTION_PROVIDER
Names the
ConnectionProvider to use for obtaining
JDBC connections. |
static String |
CURRENT_SESSION_CONTEXT_CLASS
Context scoping impl for
SessionFactory.getCurrentSession() processing. |
static String |
CUSTOM_ENTITY_DIRTINESS_STRATEGY
Setting to identify a
CustomEntityDirtinessStrategy to use. |
static String |
DATASOURCE
Names a
DataSource . |
static String |
DEFAULT_BATCH_FETCH_SIZE
The default batch size for batch fetching
|
static String |
DEFAULT_CACHE_CONCURRENCY_STRATEGY
Setting used to give the name of the default
CacheConcurrencyStrategy
to use when either @Cacheable or
@Cache is used. |
static String |
DEFAULT_CATALOG
A default database catalog name to use for unqualified tablenames
|
static String |
DEFAULT_ENTITY_MODE
The EntityMode in which set the Session opened from the SessionFactory.
|
static String |
DEFAULT_NULL_ORDERING
Default precedence of null values in
ORDER BY clause. |
static String |
DEFAULT_SCHEMA
A default database schema (owner) name to use for unqualified tablenames
|
static String |
DIALECT
Names the Hibernate SQL
Dialect class |
static String |
DIALECT_RESOLVERS
Names any additional
DialectResolver implementations to
register with the standard DialectFactory . |
static String |
DRIVER
Names the JDBC driver class
|
static String |
ENABLE_LAZY_LOAD_NO_TRANS |
static String |
ENABLE_SYNONYMS
If enabled, allows schema update and validation to support synonyms.
|
static String |
ENVIRONMENT_CLASSLOADER
Deprecated.
Use
CLASSLOADERS instead |
static 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.
|
static String |
FLUSH_BEFORE_COMPLETION
Enable automatic flush during the JTA beforeCompletion() callback
|
static String |
FORCE_DISCRIMINATOR_IN_SELECTS_BY_DEFAULT |
static String |
FORMAT_SQL
Enable formatting of SQL logged to the console
|
static String |
GENERATE_STATISTICS
Enable statistics collection
|
static String |
GLOBALLY_QUOTED_IDENTIFIERS
Should all database identifiers be quoted.
|
static String |
HBM2DDL_AUTO
Auto export/update schema using hbm2ddl tool.
|
static String |
HBM2DDL_IMPORT_FILES
Comma-separated names of the optional files containing SQL DML statements executed
during the SessionFactory creation.
|
static String |
HBM2DDL_IMPORT_FILES_SQL_EXTRACTOR
String reference to ImportSqlCommandExtractor implementation class. |
static String |
HBM2DLL_CREATE_NAMESPACES
Specifies whether to automatically create also the database schema/catalog.
|
static String |
HIBERNATE_CLASSLOADER
Deprecated.
Use
CLASSLOADERS instead |
static String |
HQL_BULK_ID_STRATEGY |
static 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...).
|
static 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...).
|
static String |
IMPLICIT_NAMING_STRATEGY
Used to specify the
ImplicitNamingStrategy class to use. |
static String |
INTERCEPTOR
Names a
Interceptor implementation to be applied to the SessionFactory
Can reference
Interceptor instance
Interceptor implementation Class reference
Interceptor implementation class name
|
static String |
ISOLATION
Names the JDBC transaction isolation level
|
static String |
JACC_CONTEXT_ID |
static String |
JACC_ENABLED |
static String |
JACC_PREFIX |
static String |
JMX_AGENT_ID |
static String |
JMX_DEFAULT_OBJ_NAME_DOMAIN |
static String |
JMX_DOMAIN_NAME |
static String |
JMX_ENABLED |
static String |
JMX_PLATFORM_SERVER |
static String |
JMX_SF_NAME |
static String |
JNDI_CLASS
Names the JNDI
InitialContext class. |
static String |
JNDI_PREFIX
Names a prefix used to define arbitrary JNDI
InitialContext properties. |
static String |
JNDI_URL
Names the JNDI provider/connection url
|
static String |
JPAQL_STRICT_COMPLIANCE |
static String |
JTA_CACHE_TM
A configuration value key used to indicate that it is safe to cache
TransactionManager references. |
static String |
JTA_CACHE_UT
A configuration value key used to indicate that it is safe to cache
UserTransaction references. |
static String |
JTA_PLATFORM
Names the
JtaPlatform implementation to use for integrating
with JTA systems. |
static String |
JTA_PLATFORM_RESOLVER
Names the
JtaPlatformResolver implementation to use. |
static String |
JTA_TRACK_BY_THREAD
A transaction can be rolled back by another thread ("tracking by thread")
-- not the original application.
|
static String |
KEYWORD_AUTO_QUOTING_ENABLED
Specifies whether to automatically quote any names that are deemed keywords.
|
static String |
LOG_SESSION_METRICS
A setting to control whether to
StatisticalLoggingSessionEventListener is
enabled on all Sessions (unless explicitly disabled for a given Session). |
static String |
MAX_FETCH_DEPTH
Maximum depth of outer join fetching
|
static String |
MULTI_TENANT
Strategy for multi-tenancy.
|
static String |
MULTI_TENANT_CONNECTION_PROVIDER
Names a
MultiTenantConnectionProvider implementation to
use. |
static String |
MULTI_TENANT_IDENTIFIER_RESOLVER
Names a
CurrentTenantIdentifierResolver implementation to use. |
static String |
NON_CONTEXTUAL_LOB_CREATION
Should we not use contextual LOB creation (aka based on
Connection.createBlob() et al). |
static String |
ORDER_INSERTS
Enable ordering of insert statements for the purpose of more efficient JDBC batching.
|
static String |
ORDER_UPDATES
Enable ordering of update statements by primary key value
|
static String |
PASS
Names the connection password.
|
static String |
PHYSICAL_NAMING_STRATEGY
Used to specify the
PhysicalNamingStrategy class to use. |
static String |
POOL_SIZE
Maximum number of inactive connections for the built-in Hibernate connection pool.
|
static String |
PREFER_POOLED_VALUES_LO
Deprecated.
Use
PREFERRED_POOLED_OPTIMIZER instead |
static String |
PREFER_USER_TRANSACTION
Should we prefer using the
JtaPlatform.retrieveUserTransaction()
over using JtaPlatform.retrieveTransactionManager() ?
Default is false |
static 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? Can specify an optimizer short name or an Optimizer
impl FQN.
|
static String |
PROXOOL_CONFIG_PREFIX
A setting prefix used to indicate settings that target the hibernate-proxool integration
|
static String |
PROXOOL_EXISTING_POOL
Proxool property to configure the Proxool Provider from an already existing pool (true / false)
|
static String |
PROXOOL_POOL_ALIAS
Proxool property with the Proxool pool alias to use
(Required for PROXOOL_EXISTING_POOL, PROXOOL_PROPERTIES, or
PROXOOL_XML)
|
static String |
PROXOOL_PREFIX
Deprecated.
Use
PROXOOL_CONFIG_PREFIX instead |
static String |
PROXOOL_PROPERTIES
Proxool property to configure the Proxool Provider using a properties file (/path/to/proxool.properties)
|
static String |
PROXOOL_XML
Proxool property to configure the Proxool Provider using an XML (/path/to/file.xml)
|
static String |
QUERY_CACHE_FACTORY
The
QueryCacheFactory implementation class. |
static String |
QUERY_PLAN_CACHE_MAX_SIZE
The maximum number of entries including:
HQLQueryPlan
FilterQueryPlan
NativeSQLQueryPlan
maintained by QueryPlanCache . |
static String |
QUERY_PLAN_CACHE_MAX_SOFT_REFERENCES
Deprecated.
in favor of
QUERY_PLAN_CACHE_MAX_SIZE |
static String |
QUERY_PLAN_CACHE_MAX_STRONG_REFERENCES
Deprecated.
in favor of
QUERY_PLAN_CACHE_PARAMETER_METADATA_MAX_SIZE |
static String |
QUERY_PLAN_CACHE_PARAMETER_METADATA_MAX_SIZE
The maximum number of
ParameterMetadata maintained
by QueryPlanCache . |
static String |
QUERY_STARTUP_CHECKING
Should named queries be checked during startup (the default is enabled).
|
static String |
QUERY_SUBSTITUTIONS
A comma-separated list of token substitutions to use when translating a Hibernate
query to SQL
|
static String |
QUERY_TRANSLATOR
The classname of the HQL query parser factory
|
static String |
RELEASE_CONNECTIONS
Specifies how Hibernate should release JDBC connections.
|
static String |
RESOURCES_CLASSLOADER
Deprecated.
Use
CLASSLOADERS instead |
static String |
SCANNER
Pass an implementation of
Scanner . |
static String |
SCANNER_ARCHIVE_INTERPRETER
Pass
ArchiveDescriptorFactory to use
in the scanning process. |
static String |
SCANNER_DEPRECATED
The deprecated name.
|
static String |
SCANNER_DISCOVERY
Identifies a comma-separate list of values indicating the types of
things we should auto-detect during scanning.
|
static String |
SCHEMA_MANAGEMENT_TOOL
Used to specify the
SchemaManagementTool to use for performing
schema management. |
static String |
SESSION_FACTORY_NAME
Setting used to name the Hibernate
SessionFactory . |
static String |
SESSION_FACTORY_NAME_IS_JNDI
Does the value defined by
SESSION_FACTORY_NAME represent a JNDI namespace into which
the SessionFactory should be bound and made accessible?
Defaults to true for backwards compatibility. |
static String |
SHOW_SQL
Enable logging of generated SQL to the console
|
static String |
SQL_EXCEPTION_CONVERTER
The
SQLExceptionConverter to use for converting SQLExceptions
to Hibernate's JDBCException hierarchy. |
static String |
STATEMENT_BATCH_SIZE
Maximum JDBC batch size.
|
static 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.
|
static String |
STATEMENT_INSPECTOR
Names a
StatementInspector implementation to be applied to
the SessionFactory . |
static String |
TRANSACTION_COORDINATOR_STRATEGY
Names the implementation of
TransactionCoordinatorBuilder to use for
creating TransactionCoordinator instances. |
static String |
UNIQUE_CONSTRAINT_SCHEMA_UPDATE_STRATEGY
Unique columns and unique keys both use unique constraints in most dialects.
|
static String |
URL
Names the JDBC connection url.
|
static String |
USE_DIRECT_REFERENCE_CACHE_ENTRIES
Enable direct storage of entity references into the second level cache when applicable (immutable data, etc).
|
static String |
USE_GET_GENERATED_KEYS
Tells the JDBC driver to attempt to retrieve row Id with the JDBC 3.0 PreparedStatement.getGeneratedKeys()
method.
|
static String |
USE_IDENTIFIER_ROLLBACK |
static String |
USE_MINIMAL_PUTS
Optimize the cache for minimal puts instead of minimal gets
|
static String |
USE_NATIONALIZED_CHARACTER_DATA
Enable nationalized character support on all string / clob based attribute ( string, char, clob, text etc ).
|
static String |
USE_NEW_ID_GENERATOR_MAPPINGS
Setting which indicates whether or not the new
IdentifierGenerator are used
for AUTO, TABLE and SEQUENCE. |
static String |
USE_QUERY_CACHE
Enable the query cache (disabled by default)
|
static String |
USE_REFLECTION_OPTIMIZER
Use bytecode libraries optimized property access
|
static String |
USE_SCROLLABLE_RESULTSET
Use JDBC scrollable ResultSets.
|
static String |
USE_SECOND_LEVEL_CACHE
Enable the second-level cache (enabled by default)
|
static String |
USE_SQL_COMMENTS
Add comments to the generated SQL
|
static String |
USE_STREAMS_FOR_BINARY
Use java.io streams to read / write binary data from / to JDBC
|
static String |
USE_STRUCTURED_CACHE
Enable use of structured second-level cache entries
|
static String |
USER
Names the connection user.
|
static String |
WRAP_RESULT_SETS
Enable wrapping of JDBC result sets in order to speed up column name lookups for
broken JDBC drivers
|
static final String CLASSLOADERS
Collection
of the ClassLoader
instances Hibernate should use for
class-loading and resource-lookups.@Deprecated static final String APP_CLASSLOADER
CLASSLOADERS
insteadClassLoader
used to load user application classes.@Deprecated static final String RESOURCES_CLASSLOADER
CLASSLOADERS
insteadClassLoader
Hibernate should use to perform resource loading.@Deprecated static final String HIBERNATE_CLASSLOADER
CLASSLOADERS
insteadClassLoader
responsible for loading Hibernate classes. By default this is
the ClassLoader
that loaded this class.@Deprecated static final String ENVIRONMENT_CLASSLOADER
CLASSLOADERS
insteadClassLoader
used when Hibernate is unable to locates classes on the
APP_CLASSLOADER
or HIBERNATE_CLASSLOADER
.static final String CONNECTION_PROVIDER
ConnectionProvider
to use for obtaining
JDBC connections. Can reference:Class<? extends ConnectionProvider>
referenceClass<? extends ConnectionProvider>
FQN"class"
appears in the setting name due to legacy reasons; however it can accept instances.static final String DRIVER
static final String URL
static final String USER
ConnectionProvider
: static final String PASS
USER
static final String ISOLATION
static final String AUTOCOMMIT
static final String POOL_SIZE
static final String DATASOURCE
DataSource
. Can reference:DataSource
instanceDataSource
JNDI_CLASS
, JNDI_URL
, JNDI_PREFIX
, etc.static final String CONNECTION_PREFIX
static final String JNDI_CLASS
InitialContext
class.static final String JNDI_URL
Context.PROVIDER_URL
,
Constant Field Valuesstatic final String JNDI_PREFIX
InitialContext
properties. These
properties are passed along to InitialContext.InitialContext(java.util.Hashtable)
static final String DIALECT
Dialect
classstatic final String DIALECT_RESOLVERS
DialectResolver
implementations to
register with the standard DialectFactory
.static final String SCHEMA_MANAGEMENT_TOOL
SchemaManagementTool
to use for performing
schema management. The default is to use HibernateSchemaManagementTool
static final String TRANSACTION_COORDINATOR_STRATEGY
TransactionCoordinatorBuilder
to use for
creating TransactionCoordinator
instances.
Can beClass
referencestatic final String JTA_PLATFORM
JtaPlatform
implementation to use for integrating
with JTA systems. Can reference either a JtaPlatform
instance or the name of the JtaPlatform
implementation classstatic final String PREFER_USER_TRANSACTION
JtaPlatform.retrieveUserTransaction()
over using JtaPlatform.retrieveTransactionManager()
?
Default is false
static final String JTA_PLATFORM_RESOLVER
JtaPlatformResolver
implementation to use.static final String JTA_CACHE_TM
TransactionManager
references.static final String JTA_CACHE_UT
UserTransaction
references.static final String DEFAULT_CATALOG
static final String DEFAULT_SCHEMA
static final String DEFAULT_CACHE_CONCURRENCY_STRATEGY
CacheConcurrencyStrategy
to use when either @Cacheable
or
@Cache
is used. @Cache(strategy="..")
is used to override.static final String USE_NEW_ID_GENERATOR_MAPPINGS
IdentifierGenerator
are used
for AUTO, TABLE and SEQUENCE.
Default is true
. Existing applications may want to disable this (set it false
) for
upgrade compatibility.static final String FORCE_DISCRIMINATOR_IN_SELECTS_BY_DEFAULT
static final String IMPLICIT_DISCRIMINATOR_COLUMNS_FOR_JOINED_SUBCLASS
static final String IGNORE_EXPLICIT_DISCRIMINATOR_COLUMNS_FOR_JOINED_SUBCLASS
static final String USE_NATIONALIZED_CHARACTER_DATA
false
.static final String SCANNER_DEPRECATED
SCANNER
or SCANNER_ARCHIVE_INTERPRETER
instead.static final String SCANNER
Scanner
.
Accepts either:static final String SCANNER_ARCHIVE_INTERPRETER
ArchiveDescriptorFactory
to use
in the scanning process. Accepts either:Scanner
about expected constructor forms.static final String SCANNER_DISCOVERY
static final String IMPLICIT_NAMING_STRATEGY
ImplicitNamingStrategy
class to use. The following
short-names are defined for this setting:ImplicitNamingStrategyJpaCompliantImpl
ImplicitNamingStrategyJpaCompliantImpl
ImplicitNamingStrategyLegacyJpaImpl
ImplicitNamingStrategyLegacyHbmImpl
ImplicitNamingStrategyComponentPathImpl
ImplicitNamingStrategyJpaCompliantImpl
.static final String PHYSICAL_NAMING_STRATEGY
PhysicalNamingStrategy
class to use.static final String ARTIFACT_PROCESSING_ORDER
MetadataSourceType
.
Default is "hbm,class"
which indicates to process hbm.xml
files followed by
annotations (combined with orm.xml
mappings).static final String KEYWORD_AUTO_QUOTING_ENABLED
static final String SESSION_FACTORY_NAME
SessionFactory
.
Naming the SessionFactory allows for it to be properly serialized across JVMs as
long as the same name is used on each JVM.
If SESSION_FACTORY_NAME_IS_JNDI
is set to true
, this is also the
name under which the SessionFactory is bound into JNDI on startup and from which
it can be obtained from JNDI.static final String SESSION_FACTORY_NAME_IS_JNDI
SESSION_FACTORY_NAME
represent a JNDI namespace into which
the SessionFactory
should be bound and made accessible?
Defaults to true
for backwards compatibility.
Set this to false
if naming a SessionFactory is needed for serialization purposes, but
no writable JNDI context exists in the runtime environment or if the user simply does not want
JNDI to be used.SESSION_FACTORY_NAME
,
Constant Field Valuesstatic final String SHOW_SQL
static final String FORMAT_SQL
static final String USE_SQL_COMMENTS
static final String MAX_FETCH_DEPTH
static final String DEFAULT_BATCH_FETCH_SIZE
static final String USE_STREAMS_FOR_BINARY
static final String USE_SCROLLABLE_RESULTSET
static final String USE_GET_GENERATED_KEYS
static final String STATEMENT_FETCH_SIZE
static final String STATEMENT_BATCH_SIZE
static final String BATCH_STRATEGY
static final String BATCH_VERSIONED_DATA
static final String AUTO_CLOSE_SESSION
static final String FLUSH_BEFORE_COMPLETION
static final String RELEASE_CONNECTIONS
static final String CURRENT_SESSION_CONTEXT_CLASS
SessionFactory.getCurrentSession()
processing.static final String USE_IDENTIFIER_ROLLBACK
static final String USE_REFLECTION_OPTIMIZER
static final String QUERY_TRANSLATOR
static final String QUERY_SUBSTITUTIONS
static final String QUERY_STARTUP_CHECKING
static final String HBM2DDL_AUTO
static final String SQL_EXCEPTION_CONVERTER
SQLExceptionConverter
to use for converting SQLExceptions
to Hibernate's JDBCException hierarchy. The default is to use the configured
Dialect
's preferred SQLExceptionConverter.static final String WRAP_RESULT_SETS
static final String ORDER_UPDATES
static final String ORDER_INSERTS
static final String DEFAULT_NULL_ORDERING
ORDER BY
clause. Supported options: none
(default),
first
, last
.static final String C3P0_CONFIG_PREFIX
static final String C3P0_MAX_SIZE
static final String C3P0_MIN_SIZE
static final String C3P0_TIMEOUT
static final String C3P0_MAX_STATEMENTS
static final String C3P0_ACQUIRE_INCREMENT
static final String C3P0_IDLE_TEST_PERIOD
static final String PROXOOL_CONFIG_PREFIX
static final String PROXOOL_PREFIX
PROXOOL_CONFIG_PREFIX
insteadstatic final String PROXOOL_XML
static final String PROXOOL_PROPERTIES
static final String PROXOOL_EXISTING_POOL
static final String PROXOOL_POOL_ALIAS
static final String CACHE_REGION_FACTORY
RegionFactory
implementation classstatic final String CACHE_PROVIDER_CONFIG
static final String USE_SECOND_LEVEL_CACHE
static final String USE_QUERY_CACHE
static final String QUERY_CACHE_FACTORY
QueryCacheFactory
implementation class.static final String CACHE_REGION_PREFIX
static final String USE_MINIMAL_PUTS
static final String USE_STRUCTURED_CACHE
static final String AUTO_EVICT_COLLECTION_CACHE
static final String USE_DIRECT_REFERENCE_CACHE_ENTRIES
static final String HBM2DDL_IMPORT_FILES
static final String HBM2DDL_IMPORT_FILES_SQL_EXTRACTOR
String
reference to ImportSqlCommandExtractor
implementation class.
Referenced implementation is required to provide non-argument constructor.
The default value is org.hibernate.tool.hbm2ddl.SingleLineSqlCommandExtractor.static final String HBM2DLL_CREATE_NAMESPACES
static final String DEFAULT_ENTITY_MODE
static final String GLOBALLY_QUOTED_IDENTIFIERS
static final String CHECK_NULLABILITY
static final String BYTECODE_PROVIDER
static final String JPAQL_STRICT_COMPLIANCE
@Deprecated static final String PREFER_POOLED_VALUES_LO
PREFERRED_POOLED_OPTIMIZER
insteadoptimizers
, prefer interpreting the
database value as the lower (lo) boundary. The default is to interpret it as the high boundary.static final String PREFERRED_POOLED_OPTIMIZER
@Deprecated static final String QUERY_PLAN_CACHE_MAX_STRONG_REFERENCES
QUERY_PLAN_CACHE_PARAMETER_METADATA_MAX_SIZE
QueryPlanCache
. Default is 128.@Deprecated static final String QUERY_PLAN_CACHE_MAX_SOFT_REFERENCES
QUERY_PLAN_CACHE_MAX_SIZE
QueryPlanCache
. Default is 2048.static final String QUERY_PLAN_CACHE_MAX_SIZE
QueryPlanCache
. Default is 2048.static final String QUERY_PLAN_CACHE_PARAMETER_METADATA_MAX_SIZE
ParameterMetadata
maintained
by QueryPlanCache
. Default is 128.static final String NON_CONTEXTUAL_LOB_CREATION
Connection.createBlob()
et al).static final String JMX_ENABLED
static final String JMX_PLATFORM_SERVER
static final String JMX_AGENT_ID
static final String JMX_DOMAIN_NAME
static final String JMX_SF_NAME
static final String JMX_DEFAULT_OBJ_NAME_DOMAIN
static final String CUSTOM_ENTITY_DIRTINESS_STRATEGY
CustomEntityDirtinessStrategy
to use. May point to
either a class name or instance.static final String MULTI_TENANT
MultiTenancyStrategy
,
Constant Field Valuesstatic final String MULTI_TENANT_CONNECTION_PROVIDER
MultiTenantConnectionProvider
implementation to
use. As MultiTenantConnectionProvider is also a service, can be configured directly through the
StandardServiceRegistryBuilder
static final String MULTI_TENANT_IDENTIFIER_RESOLVER
CurrentTenantIdentifierResolver
implementation to use.
Can beClass
referencestatic final String INTERCEPTOR
Interceptor
implementation to be applied to the SessionFactory
Can referenceClass
referencestatic final String STATEMENT_INSPECTOR
StatementInspector
implementation to be applied to
the SessionFactory
. Can referenceClass
referencestatic final String ENABLE_LAZY_LOAD_NO_TRANS
static final String HQL_BULK_ID_STRATEGY
static final String BATCH_FETCH_STYLE
BatchFetchStyle
to use. Can specify either the
BatchFetchStyle
name (insensitively), or a
BatchFetchStyle
instance.
LEGACY
is the default value.static final String JTA_TRACK_BY_THREAD
true
(enabled).static final String JACC_CONTEXT_ID
static final String JACC_PREFIX
static final String JACC_ENABLED
static final String ENABLE_SYNONYMS
static final String EXTRA_PHYSICAL_TABLE_TYPES
static final String UNIQUE_CONSTRAINT_SCHEMA_UPDATE_STRATEGY
UniqueConstraintSchemaUpdateStrategy.DROP_RECREATE_QUIETLY
(DEFAULT):
Attempt to drop, then (re-)create each unique constraint.
Ignore any exceptions thrown.
UniqueConstraintSchemaUpdateStrategy.RECREATE_QUIETLY
:
attempt to (re-)create unique constraints,
ignoring exceptions thrown if the constraint already existed
UniqueConstraintSchemaUpdateStrategy.SKIP
:
do not attempt to create unique constraints on a schema updatestatic final String GENERATE_STATISTICS
static final String LOG_SESSION_METRICS
StatisticalLoggingSessionEventListener
is
enabled on all Sessions (unless explicitly disabled for a given Session). The default value of this
setting is determined by the value for GENERATE_STATISTICS
, meaning that if collection of statistics
is enabled logging of Session metrics is enabled by default too.static final String AUTO_SESSION_EVENTS_LISTENER
SessionEventListener
to be applied to opened Sessions.Copyright © 2016 JBoss by Red Hat. All rights reserved.