JPA Method
in javax.persistence.metamodel.IdentifiableType

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.
Return:
boolean indicating whether the identifiable type has a single id attribute
Since:
JPA 2.0