DATACMNS-462 - AbstractPersistentProperty considers collections and maps entities now.

Removed the rejecting check for collections and maps and solely rely on the evaluation of the actual type for the ….isEntity() decision in AbstractPersistentProperty. This will cause collection and map properties also being inspected for persistent types as soon as the owner type gets added to the mapping context.
This commit is contained in:
Oliver Gierke
2014-03-06 08:36:16 +01:00
parent 324cee8cf0
commit cc57d38b42
3 changed files with 76 additions and 21 deletions

View File

@@ -257,7 +257,7 @@ public abstract class AbstractPersistentProperty<P extends PersistentProperty<P>
TypeInformation<?> actualType = information.getActualType();
boolean isComplexType = actualType == null ? false : !simpleTypeHolder.isSimpleType(actualType.getType());
return isComplexType && !isTransient() && !isCollectionLike() && !isMap();
return isComplexType && !isTransient();
}
/*