karthik (
https://hibernate.atlassian.net/secure/ViewProfile.jspa?accountId=6331f78...
) *commented* on HHH-16266 (
https://hibernate.atlassian.net/browse/HHH-16266?atlOrigin=eyJpIjoiODc0OW...
)
Re: Error when using @Query with EmbeddedId after upgrading to Spring Boot 3.0.4 (
https://hibernate.atlassian.net/browse/HHH-16266?atlOrigin=eyJpIjoiODc0OW...
)
@Marco Bellaelli:
Firstly ,Thank you for the suggestion - having an alias for the sub query works.
Secondly, is this a new change because the same query that i provided worked in older
versions?
Also for my own understanding, it would be great if you can explain a bit more.
If i want to use the id attribute of any other tables from the top query, then i would be
using it as u1.id (
http://u1.id ) (or) u2.id (
http://u2.id ). I think if there is a
alias used in the top query and no alias used in the sub query, then the auto
interpretation should be that the id attribute if used as such (id.queryId) should belong
to the subquery right?
Thank you. Appreciate it.
(
https://hibernate.atlassian.net/browse/HHH-16266#add-comment?atlOrigin=ey...
) Add Comment (
https://hibernate.atlassian.net/browse/HHH-16266#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#100218- sha1:518c67a )