| I added a replicating test case in Hibernate Core. This is not a Blocker, it's merely a Major issue. For instance, the JPA spec does not even say if generated identifiers are allowed in a Composite Identifier. Anyway, this only works as @IdClass with sequence-based identifiers, as explained in this article. |