ck">Specifies a composite primary key type whose fields or
 properties map to the <a href="Id.html" title="annotation interface in jakarta.persistence">identifier</a> fields
 or properties of the annotated entity class.

 <p>The specified primary key type must:
 <ul>
 <li>be a non-<code>abstract</code> regular Java class, or a
     Java record type,
 <li>have a <code>public</code> or <code>protected</code> constructor
     with no parameters, unless it is a record type, and
 <li>implement <a href="https://d