// Ignore primary key on mapped superclass if primary key
// metadata is already defined on the entity.
getLogger().logConfigMessage(MetadataLogger.IGNORE_MAPPED_SUPERCLASS_PRIMARY_KEY, getDescriptor().getJavaClass(), getJavaClass());
} else {
if (m_primaryKey == null) {
new PrimaryKeyMetadata(getAnnotation(PrimaryKey.class), this).process(getDescriptor());
} else {
if (isAnnotationPresent(PrimaryKey.class)) {
getLogger().logConfigMessage(MetadataLogger.OVERRIDE_ANNOTATION_WITH_XML, getAnnotation(PrimaryKey.class), getJavaClassName(), getLocation());
}