Jakarta Persistence (JPA) Method
boolean isId()
Is the attribute an id attribute? This method returns true if the attribute is a simple id, an embedded id, or an attribute of an id class.
- Returns:
- boolean indicating whether the attribute is an id.
- Since:
- Jakarta Persistence (JPA) 1.0