| Modifier and Type | Field and Description |
|---|---|
| public static final String | CALLABLE_NAMED_PARAMS_ENABLED
When enabled, specifies that Hibernate should attempt to map parameter names
given in a |
| public static final String | CRITERIA_COPY_TREE
When enabled, specifies that queries
created via |
| public static final String | CRITERIA_VALUE_HANDLING_MODE
By default, a criteria
query produces SQL with a JDBC bind parameter for any value specified via the
criteria query API, except when the value is passed via
|
| public static final String | DEFAULT_NULL_ORDERING
Specifies the default precedence of null values in the HQL
|
| public static final String | FAIL_ON_PAGINATION_OVER_COLLECTION_FETCH
When pagination is used
in combination with a |
| public static final String | IMMUTABLE_ENTITY_UPDATE_QUERY_HANDLING_MODE
This setting defines how |
| public static final String | IN_CLAUSE_PARAMETER_PADDING
Determines how parameters occurring in a SQL |
| public static final String | NATIVE_IGNORE_JDBC_PARAMETERS
When set to true, indicates that ordinal parameters (represented by the '?' placeholder) in native queries will be ignored. |
| public static final String | QUERY_MULTI_TABLE_INSERT_STRATEGY
Defines the "global" strategy to use for handling HQL and Criteria insert queries. |
| public static final String | QUERY_MULTI_TABLE_MUTATION_STRATEGY
Defines the "global" strategy to use for handling HQL and Criteria mutation queries. |
| public static final String | QUERY_PLAN_CACHE_ENABLED
When enabled, specifies that query plans should be cached. |
| public static final String | QUERY_PLAN_CACHE_MAX_SIZE
The maximum number of entries in the query interpretation cache. |
| public static final String | QUERY_PLAN_CACHE_PARAMETER_METADATA_MAX_SIZE
The maximum number of |
| public static final String | QUERY_STARTUP_CHECKING
When enabled, specifies that named queries be checked during startup. |
| public static final String | SEMANTIC_QUERY_PRODUCER
Specifies a |
| public static final String | SEMANTIC_QUERY_TRANSLATOR
Specifies a |
| CALLABLE_NAMED_PARAMS_ENABLED | back to summary |
|---|---|
| public static final String CALLABLE_NAMED_PARAMS_ENABLED When enabled, specifies that Hibernate should attempt to map parameter names
given in a | |
| CRITERIA_COPY_TREE | back to summary |
|---|---|
| public static final String CRITERIA_COPY_TREE When enabled, specifies that queries
created via
If disabled, it's assumed that the client does not mutate the criteria query
after calling The default behavior depends on how Hibernate is bootstrapped:
| |
| CRITERIA_VALUE_HANDLING_MODE | back to summary |
|---|---|
| public static final String CRITERIA_VALUE_HANDLING_MODE By default, a criteria
query produces SQL with a JDBC bind parameter for any value specified via the
criteria query API, except when the value is passed via
This setting may be used to override this default behavior:
In both modes:
The default mode is | |
| DEFAULT_NULL_ORDERING | back to summary |
|---|---|
| public static final String DEFAULT_NULL_ORDERING Specifies the default precedence of null values in the HQL
The default is | |
| FAIL_ON_PAGINATION_OVER_COLLECTION_FETCH | back to summary |
|---|---|
| public static final String FAIL_ON_PAGINATION_OVER_COLLECTION_FETCH When pagination is used
in combination with a When enabled, this setting specifies that an exception should be thrown for any query which would result in the limit being applied in-memory. By default, the exception is disabled, and the possibility of terrible performance is left as a problem for the client to avoid.
| |
| IMMUTABLE_ENTITY_UPDATE_QUERY_HANDLING_MODE | back to summary |
|---|---|
| public static final String IMMUTABLE_ENTITY_UPDATE_QUERY_HANDLING_MODE This setting defines how
By default, a warning is logged.
| |
| IN_CLAUSE_PARAMETER_PADDING | back to summary |
|---|---|
| public static final String IN_CLAUSE_PARAMETER_PADDING Determines how parameters occurring in a SQL
However, for database systems supporting execution plan caching, there's a
better chance of hitting the cache if the number of possible
When this setting is enabled, we expand the number of bind parameters to an
integer power of two: 4, 8, 16, 32, 64. Thus, if 5, 6, or 7 arguments are bound
to a parameter, a SQL statement with 8 bind parameters in the
| |
| NATIVE_IGNORE_JDBC_PARAMETERS | back to summary |
|---|---|
| public static final String NATIVE_IGNORE_JDBC_PARAMETERS When set to true, indicates that ordinal parameters (represented by the '?' placeholder) in native queries will be ignored. By default, this is set to false, i.e. native queries will be checked for ordinal placeholders.
| |
| QUERY_MULTI_TABLE_INSERT_STRATEGY | back to summary |
|---|---|
| public static final String QUERY_MULTI_TABLE_INSERT_STRATEGY Defines the "global" strategy to use for handling HQL and Criteria insert queries.
Specifies a | |
| QUERY_MULTI_TABLE_MUTATION_STRATEGY | back to summary |
|---|---|
| public static final String QUERY_MULTI_TABLE_MUTATION_STRATEGY Defines the "global" strategy to use for handling HQL and Criteria mutation queries.
Specifies a | |
| QUERY_PLAN_CACHE_ENABLED | back to summary |
|---|---|
| public static final String QUERY_PLAN_CACHE_ENABLED When enabled, specifies that query plans should be cached. By default, the query plan cache is disabled, unless one of the configuration properties hibernate.query.plan_cache_max_size or hibernate.query.plan_parameter_metadata_max_size is set. | |
| QUERY_PLAN_CACHE_MAX_SIZE | back to summary |
|---|---|
| public static final String QUERY_PLAN_CACHE_MAX_SIZE The maximum number of entries in the query interpretation cache. The default maximum is 2048. | |
| QUERY_PLAN_CACHE_PARAMETER_METADATA_MAX_SIZE | back to summary |
|---|---|
| public static final String QUERY_PLAN_CACHE_PARAMETER_METADATA_MAX_SIZE
Deprecated since 6.0. this setting is not currently used The maximum number of
| |
| QUERY_STARTUP_CHECKING | back to summary |
|---|---|
| public static final String QUERY_STARTUP_CHECKING When enabled, specifies that named queries be checked during startup. By default, named queries are checked at startup. Mainly intended for use in test environments. | |
| SEMANTIC_QUERY_PRODUCER | back to summary |
|---|---|
| public static final String SEMANTIC_QUERY_PRODUCER Specifies a | |
| SEMANTIC_QUERY_TRANSLATOR | back to summary |
|---|---|
| public static final String SEMANTIC_QUERY_TRANSLATOR Specifies a | |