using version 4.1.6.Final, an entity extends @MappedSuperclass
@MappedSuperclass public abstract class AbstractPersistable<PK extends Serializable>
with id
@Id private PK id;
type information :
Metamodel metamodel = entityManager.getMetamodel(); EntityType<?> entityType = metamodel.entity(TableMetaData.class); entityType.getIdType().getJavaType()
results only in Serializable
using version 4.1.6.Final, an entity extends @MappedSuperclass
with id
type information :
results only in Serializable