Fixed
Details
Assignee
Christian BeikovChristian BeikovReporter
l0cofull0cofulWorked in
Fix versions
Affects versions
Priority
Major
Details
Details
Assignee
Christian Beikov
Christian BeikovReporter
l0coful
l0cofulWorked in
Fix versions
Affects versions
Priority
Created October 26, 2020 at 2:29 PM
Updated November 17, 2020 at 9:20 PM
Resolved November 3, 2020 at 7:12 AM
In my app I have the following entity model:
And other unrelated properties. Now, I perform the following batch insert query:
This works perfectly in Hibernate 5.4.21.Final and is translated to the following postgresql query:
But the same doesn't work in Hibernate 5.4.22.Final:
This is because these two lines are in wrong order:
And banks1_ (in the first line) is referred before it's introduced in the second line. This ends up in postresql with ERROR: missing FROM-clause entry for table "banks1_"