Jakarta Persistence (JPA) Method

boolean hasSingleIdAttribute()


Whether the identifiable type has a single id attribute. Returns true for a simple id or embedded id; returns false for an idclass.
Returns:
boolean indicating whether the identifiable type has a single id attribute.
Since:
Jakarta Persistence (JPA) 1.0