Adapt to newly introduced methods in PersistentProperty.
Implement getPersistentEntityTypeInformation() and getAssociationTargetTypeInformation() methods. Closes #1149
This commit is contained in:
@@ -277,6 +277,17 @@ class AnnotatedCassandraConstructorProperty implements CassandraPersistentProper
|
||||
return delegate.getAssociationTargetType();
|
||||
}
|
||||
|
||||
@Override
|
||||
public Iterable<? extends TypeInformation<?>> getPersistentEntityTypeInformation() {
|
||||
return delegate.getPersistentEntityTypeInformation();
|
||||
}
|
||||
|
||||
@Nullable
|
||||
@Override
|
||||
public TypeInformation<?> getAssociationTargetTypeInformation() {
|
||||
return delegate.getAssociationTargetTypeInformation();
|
||||
}
|
||||
|
||||
@Override
|
||||
public void setColumnName(CqlIdentifier columnName) {
|
||||
throw new UnsupportedOperationException();
|
||||
|
||||
@@ -270,6 +270,17 @@ class CassandraConstructorProperty implements CassandraPersistentProperty {
|
||||
return null;
|
||||
}
|
||||
|
||||
@Override
|
||||
public Iterable<? extends TypeInformation<?>> getPersistentEntityTypeInformation() {
|
||||
return Collections.emptyList();
|
||||
}
|
||||
|
||||
@Nullable
|
||||
@Override
|
||||
public TypeInformation<?> getAssociationTargetTypeInformation() {
|
||||
return null;
|
||||
}
|
||||
|
||||
@Override
|
||||
public void setColumnName(CqlIdentifier columnName) {
|
||||
throw new UnsupportedOperationException();
|
||||
|
||||
@@ -611,6 +611,17 @@ public class EmbeddedEntityOperations {
|
||||
return delegate.getAssociationTargetType();
|
||||
}
|
||||
|
||||
@Override
|
||||
public Iterable<? extends TypeInformation<?>> getPersistentEntityTypeInformation() {
|
||||
return delegate.getPersistentEntityTypeInformation();
|
||||
}
|
||||
|
||||
@Nullable
|
||||
@Override
|
||||
public TypeInformation<?> getAssociationTargetTypeInformation() {
|
||||
return delegate.getAssociationTargetTypeInformation();
|
||||
}
|
||||
|
||||
@Override
|
||||
public <T> PersistentPropertyAccessor<T> getAccessorForOwner(T owner) {
|
||||
return delegate.getAccessorForOwner(owner);
|
||||
|
||||
Reference in New Issue
Block a user