Christian Beikov (
https://hibernate.atlassian.net/secure/ViewProfile.jspa?accountId=557058%...
) *updated* an issue
Hibernate ORM (
https://hibernate.atlassian.net/browse/HHH?atlOrigin=eyJpIjoiNzUxMTdlNTA3...
) / New Feature (
https://hibernate.atlassian.net/browse/HHH-15086?atlOrigin=eyJpIjoiNzUxMT...
) HHH-15086 (
https://hibernate.atlassian.net/browse/HHH-15086?atlOrigin=eyJpIjoiNzUxMT...
) Configurable query cache structure layout (
https://hibernate.atlassian.net/browse/HHH-15086?atlOrigin=eyJpIjoiNzUxMT...
)
Change By: Christian Beikov (
https://hibernate.atlassian.net/secure/ViewProfile.jspa?accountId=557058%...
)
In 6.0 we changed the query cache structure so that it contains all the data, whereas in
5.x a cache value for an entity stored only the PK value. Both approaches have advantages
and disadvantages, so we should try to provide a way to configure how the cache for an
entity should be structured.
When we have that, we should enable the test
{{org.hibernate.orm.test.jpa.query.CachedQueryTest#testCacheableQuery}}
We should always use the shallow layout for entities/associations that use reference
caching.
(
https://hibernate.atlassian.net/browse/HHH-15086#add-comment?atlOrigin=ey...
) Add Comment (
https://hibernate.atlassian.net/browse/HHH-15086#add-comment?atlOrigin=ey...
)
Get Jira notifications on your phone! Download the Jira Cloud app for Android (
https://play.google.com/store/apps/details?id=com.atlassian.android.jira....
) or iOS (
https://itunes.apple.com/app/apple-store/id1006972087?pt=696495&ct=Em...
) This message was sent by Atlassian Jira (v1001.0.0-SNAPSHOT#100209- sha1:9aa9d1d )