hibernate-entitymanager fails to initialise with composite id

Description

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>

Environment

java eclipse maven

Activity

Show:

Sanne Grinovero August 15, 2023 at 1:36 PM

This was reported on the wrong project, and is now most likely out of date.

Rejected

Details

Assignee

Reporter

Bug 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