Adapt to changed PersistentProperty interface.

Closes #2682
This commit is contained in:
Mark Paluch 2023-08-31 09:52:45 +02:00
parent 9adc4d2b36
commit 1a24c3c989
No known key found for this signature in database
GPG Key ID: 4406B84C1661DCD1
2 changed files with 1 additions and 9 deletions

View File

@ -66,14 +66,6 @@ public interface ElasticsearchPersistentProperty extends PersistentProperty<Elas
@Nullable
PropertyValueConverter getPropertyValueConverter();
/**
* Returns true if the property may be read from the store into the entity.
*
* @return true if readable, false otherwise
* @since 4.0
*/
boolean isReadable();
/**
* @return {@literal true} if null values should be stored in Elasticsearch
* @since 4.1

View File

@ -129,7 +129,7 @@ public class SimpleElasticsearchPersistentProperty extends
@Override
public boolean isReadable() {
return !isTransient() && !isSeqNoPrimaryTermProperty() && !isAnnotationPresent(WriteOnlyProperty.class);
return super.isReadable() && !isAnnotationPresent(WriteOnlyProperty.class);
}
@Override