| |
|
|
| Change By: |
Vlad Mihalcea |
| Component/s: |
hibernate-core |
| Component/s: |
documentation |
| Sprint: |
|
| Summary: |
NoCachingRegionFactory The CachingRegionFactory resolution algorithm has changed . We need to either update the documentation or revise the change. |
|
The code comment for returning a {{NoCachingRegionFactory}} says that This [commit|https :
{code:java} // We should immediately return NoCachingRegionFactory if either: github.com / hibernate / 1) both are explicitly FALSE hibernate-orm / commit / 2) USE_SECOND_LEVEL_CACHE is FALSE and USE_QUERY_CACHE is null {code}
Previously, it was like this and 7f12e2a1617555cc4806ec730665b4f7c5b0d28c#commitcomment-31404262] shows that the useSecondLevelCache was true by default:
{ code:java {CachingRegionFactory } // The cache provider is needed when we either have second-level cache enabled // or query cache enabled } reolution mechanism has changed . Note that useSecondLevelCache is enabled by default {code} We need to document the change. |
|
|
|
| |