Gavin King (
https://hibernate.atlassian.net/secure/ViewProfile.jspa?accountId=557058%...
) *commented* on HHH-16596 (
https://hibernate.atlassian.net/browse/HHH-16596?atlOrigin=eyJpIjoiMzZmNz...
)
Re: HQL queries which place restrictions in 'join fetch'ed collection (
https://hibernate.atlassian.net/browse/HHH-16596?atlOrigin=eyJpIjoiMzZmNz...
)
Well I don’t think this is the same as filters at all, since filters result in
well-defined behavior where the same filter gets applied to every query against a given
collection.
Whereas this thing is going to initialize a collection with a different set of elements
depending upon which query got lucky and was executed first.
But OK, look, if there are tests for this, and this is something well-defined that we know
works and we guarantee will keep working, I guess it’s OK.
My fear was more that (since it doesn’t particularly seem to be documented anywhere) maybe
it was something that just happened to work by accident. If that’s not the case then I
guess I can live with it though I really don’t love it, and I really don’t think it’s a
good thing to allow.
(
https://hibernate.atlassian.net/browse/HHH-16596#add-comment?atlOrigin=ey...
) Add Comment (
https://hibernate.atlassian.net/browse/HHH-16596#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:6805d32 )