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

Assignee

Unassigned

Reporter

Laurent de Laprade

Labels

None

Feedback Requested

None

Feedback Requested By

None

backPortable

None

Suitable for new contributors

None

Pull Request

None

backportDecision

None

backportReEvaluate

None

Affects versions

Priority

Major
Configure