| Modifier and Type | Field and Description |
|---|---|
| public static final String | JPA_CACHING_COMPLIANCE
By default, Hibernate uses second-level cache invalidation for entities with secondary tables in order to avoid the possibility of inconsistent cached data in the case where different transactions simultaneously update different table rows corresponding to the same entity instance. |
| public static final String | JPA_CLOSED_COMPLIANCE
JPA specifies that an |
| public static final String | JPA_COMPLIANCE
Specifies a default value for all |
| public static final String | JPA_ID_GENERATOR_GLOBAL_SCOPE_COMPLIANCE
Determines whether the scope of any identifier generator name specified
via |
| public static final String | JPA_LIST_COMPLIANCE
Controls whether Hibernate should treat what it would usually consider a
"bag", that is, a
list with no index column, whose element order is not persistent, as a true
|
| public static final String | JPA_LOAD_BY_ID_COMPLIANCE
Determines if an identifier value passed to
|
| public static final String | JPA_ORDER_BY_MAPPING_COMPLIANCE
JPA specifies that items occurring in |
| public static final String | JPA_PROXY_COMPLIANCE
The JPA specification insists that an
|
| public static final String | JPA_QUERY_COMPLIANCE
Controls whether Hibernate’s handling of |
| public static final String | JPA_TRANSACTION_COMPLIANCE
When enabled, specifies that the Hibernate |
| public static final String | JPAQL_STRICT_COMPLIANCE
Deprecated
Prefer
JPA_QUERY_COMPLIANCE
|
| JPA_CACHING_COMPLIANCE | back to summary |
|---|---|
| public static final String JPA_CACHING_COMPLIANCE By default, Hibernate uses second-level cache invalidation for entities with secondary tables in order to avoid the possibility of inconsistent cached data in the case where different transactions simultaneously update different table rows corresponding to the same entity instance. The Jakarta Persistence TCK, requires that entities with secondary tables be immediately cached in the second-level cache rather than invalidated and re-cached on a subsequent read. API Note Hibernate's default behavior here is safer and more careful than the behavior mandated by the TCK but YOLO | |
| JPA_CLOSED_COMPLIANCE | back to summary |
|---|---|
| public static final String JPA_CLOSED_COMPLIANCE JPA specifies that an API Note When enabled, this setting forces Hibernate to throw an exception if
| |
| JPA_COMPLIANCE | back to summary |
|---|---|
| public static final String JPA_COMPLIANCE Specifies a default value for all | |
| JPA_ID_GENERATOR_GLOBAL_SCOPE_COMPLIANCE | back to summary |
|---|---|
| public static final String JPA_ID_GENERATOR_GLOBAL_SCOPE_COMPLIANCE Determines whether the scope of any identifier generator name specified
via API Note If enabled, the name will be considered globally scoped, and so the existence of two different generators with the same name will be considered a collision, and will result in an exception during bootstrap.
| |
| JPA_LIST_COMPLIANCE | back to summary |
|---|---|
| public static final String JPA_LIST_COMPLIANCE
Deprecated since 6.0. Use Controls whether Hibernate should treat what it would usually consider a
"bag", that is, a
list with no index column, whose element order is not persistent, as a true
API Note If enabled, Hibernate will recognize it as a list where the
| |
| JPA_LOAD_BY_ID_COMPLIANCE | back to summary |
|---|---|
| public static final String JPA_LOAD_BY_ID_COMPLIANCE Determines if an identifier value passed to
API Note When enabled, coercion is disallowed, as required by the JPA specification. Hibernate's default (here non-compliant) behavior is to allow the coercion.
| |
| JPA_ORDER_BY_MAPPING_COMPLIANCE | back to summary |
|---|---|
| public static final String JPA_ORDER_BY_MAPPING_COMPLIANCE JPA specifies that items occurring in API Note If enabled, an exception is thrown for items which are not entity attribute references. | |
| JPA_PROXY_COMPLIANCE | back to summary |
|---|---|
| public static final String JPA_PROXY_COMPLIANCE The JPA specification insists that an
Traditionally, Hibernate does not initialize an entity proxy when its identifier attribute is accessed, since the identifier value is already known and held in the proxy instance. This behavior saves the round trip to the database. API Note When enabled, this setting forces Hibernate to initialize the entity proxy when its identifier is accessed. Clearly, this setting is not recommended.
| |
| JPA_QUERY_COMPLIANCE | back to summary |
|---|---|
| public static final String JPA_QUERY_COMPLIANCE Controls whether Hibernate’s handling of API Note When disabled, allows the many useful features of HQL | |
| JPA_TRANSACTION_COMPLIANCE | back to summary |
|---|---|
| public static final String JPA_TRANSACTION_COMPLIANCE When enabled, specifies that the Hibernate | |
| JPAQL_STRICT_COMPLIANCE | back to summary |
|---|---|
| public static final String JPAQL_STRICT_COMPLIANCE
Deprecated Prefer | |