HHH-6636 - Comment change

This commit is contained in:
Lukasz Antoniak 2011-10-19 19:43:12 +02:00
parent 9fff9862b9
commit 8dd9c79ebd
1 changed files with 3 additions and 3 deletions

View File

@ -123,8 +123,8 @@ public class AuditedPropertiesReader {
Property property = (Property) propertyIter.next();
addPersistentProperty(property);
if ("embedded".equals(property.getPropertyAccessorName()) && property.getName().equals(property.getNodeName())) {
// If property name equals node name and embedded accessor type is used, processing field
// has been defined inside <properties> tag. See HHH-6636 JIRA issue.
// If property name equals node name and embedded accessor type is used, processing component
// has been defined with <properties> tag. See HHH-6636 JIRA issue.
createPropertiesGroupMapping(property);
}
}
@ -225,7 +225,7 @@ public class AuditedPropertiesReader {
PersistentPropertiesSource componentPropertiesSource = new ComponentPropertiesSource((Component) propertyValue);
AuditedPropertiesReader audPropReader = new AuditedPropertiesReader(
ModificationStore.FULL, componentPropertiesSource, componentData, globalCfg, reflectionManager,
propertyNamePrefix + MappingTools.createComponentPrefix( embeddedName )
propertyNamePrefix + MappingTools.createComponentPrefix(embeddedName)
);
audPropReader.read();