Jakarta Persistence (JPA) Method

Class<?> value()


The primary key class, which must declare fields or properties with names and types that match the Id fields and properties of the annotated entity class.
Since:
Jakarta Persistence (JPA) 1.0