Field field = cpf.getDeclaredField(propertyName);
if (field != null && java.lang.reflect.Modifier.isTransient(field.getModifiers())) {
continue;
}
if (isExcludedProperty(propertyName, classMapping, transients, includeIdentifiers)) continue;
<BUG>Class<?> propertyType = descriptor.getPropertyType();</BUG>
Class currentPropType = propertyType;
if (embedded.contains(propertyName)) {
if (isCollectionType(currentPropType)) {
<BUG>final Association association = establishRelationshipForCollection(descriptor, entity, context, hasManyMap, mappedByMap, true);
</BUG>
if (association != null) {

Field field = cpf.getDeclaredField(propertyName);
if (field != null && java.lang.reflect.Modifier.isTransient(field.getModifiers())) {
continue;
}
if (isExcludedProperty(propertyName, classMapping, transients, includeIdentifiers)) continue;
Class currentPropType = propertyType;
if (embedded.contains(propertyName)) {
if (isCollectionType(currentPropType)) {
final Association association = establishRelationshipForCollection(propertyDescriptor, entity, context, hasManyMap, mappedByMap, true);
if (association != null) {
