We have a Entity with an {{ @EmbeddedId }} field. The embedded class has no properties at all but extends a {{ @MappedSuperclass }} which only one property.
If hibernate boots up it logs:
{quote} ERROR MetadataContext - HHH015011: Unable to locate static metamodel field : annotation.Entity_#ref ERROR MetadataContext - HHH015011: Unable to locate static metamodel field : pojo.Ref_#id {quote}
In the attached example i have created an {{ @Entity }} with an {{ @EmbeddedId }} not extending some class. For this entity the meta model looks fine.
|