周雁鸣 (
https://hibernate.atlassian.net/secure/ViewProfile.jspa?accountId=557058%...
) *created* an issue
Hibernate ORM (
https://hibernate.atlassian.net/browse/HHH?atlOrigin=eyJpIjoiNWNiMDlmNzFl...
) / Bug (
https://hibernate.atlassian.net/browse/HHH-16779?atlOrigin=eyJpIjoiNWNiMD...
) HHH-16779 (
https://hibernate.atlassian.net/browse/HHH-16779?atlOrigin=eyJpIjoiNWNiMD...
) EntityManager.find(Class<T> entityClass, Object primaryKey) generate unexpected
sql (
https://hibernate.atlassian.net/browse/HHH-16779?atlOrigin=eyJpIjoiNWNiMD...
)
Issue Type: Bug Affects Versions: 6.2.4 Assignee: Unassigned Components: regression
Created: 12/Jun/2023 00:54 AM Priority: Major Reporter: 周雁鸣 (
https://hibernate.atlassian.net/secure/ViewProfile.jspa?accountId=557058%...
)
Before hibernate 6.2
o.h. SQL DEBUG select t1_0.id,t1_0. index from test_entity t1_0 where t1_0.id=?
o.h.o.j.bind TRACE binding parameter [1] as [ ARRAY ] - [1]
Since hibernate 6.2
o.h. SQL DEBUG select t1_0.id,t1_0. index from test_entity t1_0 where
array_contains(?,t1_0.id)
o.h.o.j.bind TRACE binding parameter [1] as [ ARRAY ] - [[1, null , null , null , null ,
null , null , null , null , null ]]
Does it changed by designed? if it is, please add an option to let user revert, and
improve the migration document.
(
https://hibernate.atlassian.net/browse/HHH-16779#add-comment?atlOrigin=ey...
) Add Comment (
https://hibernate.atlassian.net/browse/HHH-16779#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:956085d )