Marco Belladelli (
https://hibernate.atlassian.net/secure/ViewProfile.jspa?accountId=637b480...
) *commented* on HHH-16512 (
https://hibernate.atlassian.net/browse/HHH-16512?atlOrigin=eyJpIjoiOTA0MG...
)
Re: Bidirectional OneToOne association produces wrong isNull predicate in criteria query (
https://hibernate.atlassian.net/browse/HHH-16512?atlOrigin=eyJpIjoiOTA0MG...
)
Hi, the change you proposed is incorrect (as you can see from all the failing tests) as it
would change implicit join semantics. If you want a LEFT JOIN you should explicitly define
it, like you do in your second query. The first query works in your specific case without
explicitly joining just because, being on the owning side of the association, we can use
the foreign key.
(
https://hibernate.atlassian.net/browse/HHH-16512#add-comment?atlOrigin=ey...
) Add Comment (
https://hibernate.atlassian.net/browse/HHH-16512#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#100225- sha1:f83bc8f )