Skip to content

Commit e015a4b

Browse files
committed
Adapt to API consolidation in Spring Data Commons' PersistentProperty.
Fixes #3700.
1 parent 81bc3c5 commit e015a4b

File tree

1 file changed

+10
-0
lines changed

1 file changed

+10
-0
lines changed

spring-data-mongodb/src/main/java/org/springframework/data/mongodb/core/mapping/UnwrappedMongoPersistentProperty.java

+10
Original file line numberDiff line numberDiff line change
@@ -147,6 +147,11 @@ public Iterable<? extends TypeInformation<?>> getPersistentEntityTypes() {
147147
return delegate.getPersistentEntityTypes();
148148
}
149149

150+
@Override
151+
public Iterable<? extends TypeInformation<?>> getPersistentEntityTypeInformation() {
152+
return delegate.getPersistentEntityTypeInformation();
153+
}
154+
150155
@Override
151156
@Nullable
152157
public Method getGetter() {
@@ -318,6 +323,11 @@ public Class<?> getAssociationTargetType() {
318323
return delegate.getAssociationTargetType();
319324
}
320325

326+
@Override
327+
public TypeInformation<?> getAssociationTargetTypeInformation() {
328+
return delegate.getAssociationTargetTypeInformation();
329+
}
330+
321331
@Override
322332
public <T> PersistentPropertyAccessor<T> getAccessorForOwner(T owner) {
323333
return delegate.getAccessorForOwner(owner);

0 commit comments

Comments
 (0)