Adapt to API consolidation in Spring Data Commons' PersistentProperty.

Closes: #3700
Original Pull Request: #3701
Related to: spring-projects/spring-data-commons#2408
This commit is contained in:
Oliver Drotbohm
2021-07-09 15:26:44 +02:00
committed by Christoph Strobl
parent 81bc3c599b
commit 7d0b070d1f

View File

@@ -147,6 +147,11 @@ class UnwrappedMongoPersistentProperty implements MongoPersistentProperty {
return delegate.getPersistentEntityTypes();
}
@Override
public Iterable<? extends TypeInformation<?>> getPersistentEntityTypeInformation() {
return delegate.getPersistentEntityTypeInformation();
}
@Override
@Nullable
public Method getGetter() {
@@ -318,6 +323,11 @@ class UnwrappedMongoPersistentProperty implements MongoPersistentProperty {
return delegate.getAssociationTargetType();
}
@Override
public TypeInformation<?> getAssociationTargetTypeInformation() {
return delegate.getAssociationTargetTypeInformation();
}
@Override
public <T> PersistentPropertyAccessor<T> getAccessorForOwner(T owner) {
return delegate.getAccessorForOwner(owner);