| Modifier and Type | Method and Description |
|---|---|
| public boolean | Returns: the session factory cache is checked firstCheck the second-level cache first, and only if the entity is not found in the cache should Hibernate hit the database. |
| public boolean | Returns: the session cache is checked firstCheck the first-level cache first, and only if the entity is not found in the cache should Hibernate hit the database. |
| isSecondLevelCacheCheckingEnabled | back to summary |
|---|---|
| public boolean isSecondLevelCacheCheckingEnabled() Check the second-level cache first, and only if the entity is not found in the cache should Hibernate hit the database.
| |
| isSessionCheckingEnabled | back to summary |
|---|---|
| public boolean isSessionCheckingEnabled() Check the first-level cache first, and only if the entity is not found in the cache should Hibernate hit the database.
| |