Jeff Meyers (
https://hibernate.atlassian.net/secure/ViewProfile.jspa?accountId=5c7fd80...
) *commented* on HHH-13860 (
https://hibernate.atlassian.net/browse/HHH-13860?atlOrigin=eyJpIjoiYmY3Mj...
)
Re: @Immutable entities generate warning even if they are not referenced in query (
https://hibernate.atlassian.net/browse/HHH-13860?atlOrigin=eyJpIjoiYmY3Mj...
)
Also happening in 5.6.2 for me. I think the problem is *more critical* than a nuisance
warning. I am issuing an update query for the mutable entity and it is not happening so my
data is now incorrect. It appears as if the @Immutable annotation applies to the table,
not the entity. Although sometimes it works, so it feels like which entity Hibernate
chooses to look at is random? In this case it’s not looking at the entity referenced in
the query.
(
https://hibernate.atlassian.net/browse/HHH-13860#add-comment?atlOrigin=ey...
) Add Comment (
https://hibernate.atlassian.net/browse/HHH-13860#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#100214- sha1:06410ea )