Vincent Bouthinon (
https://hibernate.atlassian.net/secure/ViewProfile.jspa?accountId=70121%3...
) *commented* on HHH-16882 (
https://hibernate.atlassian.net/browse/HHH-16882?atlOrigin=eyJpIjoiZDYxZj...
)
Re: Invalid alias in a @Where clause with @Inheritance(JOINED) (
https://hibernate.atlassian.net/browse/HHH-16882?atlOrigin=eyJpIjoiZDYxZj...
)
Sorry in holiday.
Ah, I don't think that has already worked in a previous Hibernate version.
No problem to change this ticket to an enhancement.
In my case, it's an attribute that is mapped by a @MappedSuperClass for logical
deletion. So, all our objects must carry a @Where clause with this attribute as the
predicate,
@Where("active=1")
, which I dynamically add to avoid having to put it manually on all objects
(
https://hibernate.atlassian.net/browse/HHH-16882#add-comment?atlOrigin=ey...
) Add Comment (
https://hibernate.atlassian.net/browse/HHH-16882#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#100232- sha1:a133497 )