Fast Object Database for Java - with JPA/JDO support

hasSingleIdAttribute() - JPA IdentifiableType's method

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:
JPA 2.0