Skip to:
Currently we cannot use a Java record as an @IdClass, even though that’s a perfect example of a record.
record
@IdClass
+1 it makes perfect sense.
FWIW, it’s been requested on Quarkus just now:
Note that this is required by JPA 3.2.
Currently we cannot use a Java
record
as an@IdClass
, even though that’s a perfect example of a record.