JPA Method
in jakarta.persistence.metamodel.SingularAttribute

boolean isId()


Is the attribute an id attribute? This method returns true if the attribute is a plain, an plain, or an attribute of an plain.
Return:
boolean indicating whether the attribute is an id
Since:
JPA 2.0