| Modifier and Type | Method and Description |
|---|---|
| public boolean | Returns: true if the generator name scope is considered globalShould the scope of |
| public boolean | Returns: true indicates to behave in the spec-defined wayShould Hibernate comply with all aspects of caching as defined by JPA? |
| public boolean | Returns: true indicates to behave in the spec-defined wayJPA defines specific exceptions on specific methods when called on
|
| public boolean | Returns: true indicates to behave in the spec-defined way,
interpreting the mapping as a "list", rather than a "bag"
Deprecated
since 6.0. Use
Controls how Hibernate interprets a mapped org. instead
java.
without no order column
specified.
|
| public boolean | isJpaOrderByMappingComplianceEnabled()
Should we strictly handle |
| public boolean | Returns: true indicates to behave in the spec-defined wayJPA spec says that an |
| public boolean | Returns: true indicates to behave in the spec-defined wayControls whether Hibernate's handling of JPA's
|
| public boolean | Returns: true indicates to behave in the spec-defined wayIndicates that Hibernate's |
| public boolean | isLoadByIdComplianceEnabled()
JPA says that the id passed to
|
| isGlobalGeneratorScopeEnabled | back to summary |
|---|---|
| public boolean isGlobalGeneratorScopeEnabled() Should the scope of
| |
| isJpaCacheComplianceEnabled | back to summary |
|---|---|
| public boolean isJpaCacheComplianceEnabled() Should Hibernate comply with all aspects of caching as defined by JPA? Or can it deviate to perform things it believes will be "better"? Implementation Note Effects include marking all secondary tables as non-optional. The reason being that optional secondary tables can lead to entity cache being invalidated rather than updated.
| |
| isJpaClosedComplianceEnabled | back to summary |
|---|---|
| public boolean isJpaClosedComplianceEnabled() JPA defines specific exceptions on specific methods when called on
If enabled Hibernate will operate in the JPA specified way throwing exceptions when the spec says it should with regard to close checking
| |
| isJpaListComplianceEnabled | back to summary |
|---|---|
| public boolean isJpaListComplianceEnabled()
Controls how Hibernate interprets a mapped
| |
| isJpaOrderByMappingComplianceEnabled | back to summary |
|---|---|
| public boolean isJpaOrderByMappingComplianceEnabled() Should we strictly handle JPA says the order-items can only be attribute references whereas Hibernate supports a wide range of items. With this enabled, Hibernate will throw a compliance error when a non-attribute-reference is used. | |
| isJpaProxyComplianceEnabled | back to summary |
|---|---|
| public boolean isJpaProxyComplianceEnabled() JPA spec says that an Traditionally, Hibernate does not initialize an entity Proxy when accessing its identifier since we already know the identifier value, hence we can save a database round trip. If enabled Hibernate will initialize the entity proxy even when accessing its identifier.
| |
| isJpaQueryComplianceEnabled | back to summary |
|---|---|
| public boolean isJpaQueryComplianceEnabled() Controls whether Hibernate's handling of JPA's
Deviations result in an exception, if enabled.
| |
| isJpaTransactionComplianceEnabled | back to summary |
|---|---|
| public boolean isJpaTransactionComplianceEnabled() Indicates that Hibernate's
| |
| isLoadByIdComplianceEnabled | back to summary |
|---|---|
| public boolean isLoadByIdComplianceEnabled() JPA says that the id passed to
Historically, Hibernate behaved the same way. Since 6.0 however,
Hibernate has the ability to coerce the passed type to the expected
type. For example, an This setting controls whether such coercion should be allowed.
| |