HHH-11560 - Move validation of Lob/ElementCollection after determining property is not-audited.

This commit is contained in:
Chris Cranford 2017-03-08 21:50:00 -05:00
parent a49790537c
commit 6674cddf3d
1 changed files with 2 additions and 2 deletions

View File

@ -512,13 +512,13 @@ public class AuditedPropertiesReader {
}
}
validateLobMappingSupport( property );
final String propertyName = propertyNamePrefix + property.getName();
if ( !this.checkAudited( property, propertyData,propertyName, allClassAudited, globalCfg.getModifiedFlagSuffix() ) ) {
return false;
}
validateLobMappingSupport( property );
propertyData.setName( propertyName );
propertyData.setBeanName( property.getName() );
propertyData.setAccessType( accessType );