|
|
|
@ -157,15 +157,6 @@ public abstract class AbstractPersistentProperty<P extends PersistentProperty<P> |
|
|
|
|
|
|
|
|
|
|
|
@Override |
|
|
|
@Override |
|
|
|
public Iterable<? extends TypeInformation<?>> getPersistentEntityTypeInformation() { |
|
|
|
public Iterable<? extends TypeInformation<?>> getPersistentEntityTypeInformation() { |
|
|
|
|
|
|
|
|
|
|
|
if (isMap() || isCollectionLike()) { |
|
|
|
|
|
|
|
return entityTypeInformation.get(); |
|
|
|
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
if (!isEntity()) { |
|
|
|
|
|
|
|
return Collections.emptySet(); |
|
|
|
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
return entityTypeInformation.get(); |
|
|
|
return entityTypeInformation.get(); |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
@ -292,6 +283,7 @@ public abstract class AbstractPersistentProperty<P extends PersistentProperty<P> |
|
|
|
return getActualTypeInformation().getType(); |
|
|
|
return getActualTypeInformation().getType(); |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
@Override |
|
|
|
public boolean usePropertyAccess() { |
|
|
|
public boolean usePropertyAccess() { |
|
|
|
return usePropertyAccess.get(); |
|
|
|
return usePropertyAccess.get(); |
|
|
|
} |
|
|
|
} |
|
|
|
|