if (mappingModelAccess != null && mappingModelAccess.isMappingModelExists()) {
// Exclusion of a simple property in a complex type
if (isBuildModeComplexType
&& mappingModelAccess.checkExclusionOfJPAEmbeddableAttributeType(jpaEntityTypeName, jpaAttributeName)
// Exclusion of a simple property of an Entity Type
|| (!isBuildModeComplexType && mappingModelAccess.checkExclusionOfJPAAttributeType(jpaEntityTypeName,
jpaAttributeName))) {
isExcluded = true;
}
}
return isExcluded;