Issues
hibernate-entitymanager fails to initialise with composite id
Rejected
Description
Environment
java eclipse maven
Details
Assignee
UnassignedUnassignedReporter
Laurent de LapradeLaurent de LapradeBug Testcase Reminder (view)
Bug reports should generally be accompanied by a test case!
Bug Testcase Reminder (edit)
Bug reports should generally be accompanied by a test case!
Participants
Laurent de LapradeSanne GrinoveroAffects versions
Priority
Major
Details
Details
Assignee
Unassigned
UnassignedReporter
Laurent de Laprade
Laurent de LapradeBug Testcase Reminder (view)
Bug reports should generally be accompanied by a test case!
Bug Testcase Reminder (edit)
Bug reports should generally be accompanied by a test case!
Participants
Laurent de Laprade
Sanne Grinovero
Affects versions
Priority
Created January 23, 2020 at 2:28 PM
Updated August 15, 2023 at 1:36 PM
Resolved August 15, 2023 at 1:36 PM
Activity
Show:
Sanne GrinoveroAugust 15, 2023 at 1:36 PM
This was reported on the wrong project, and is now most likely out of date.
all starts from here:
https://stackoverflow.com/questions/59209739/org-hibernate-mappingexception-composite-id
they solve the issue using @IdClass and it works !
problem:
it works with 5.4.10.Final:
<dependency>
<groupId>org.hibernate</groupId>
<artifactId>hibernate-entitymanager</artifactId>
<version>5.4.10.Final</version>
</dependency>
but it definitely fails with 6.0.0.Alpha4:
<dependency>
<groupId>org.hibernate.orm</groupId>
<artifactId>hibernate-entitymanager</artifactId>
<version>6.0.0.Alpha4</version>
</dependency>