mirror of
https://github.com/spring-projects/spring-data-elasticsearch.git
synced 2025-06-28 14:52:20 +00:00
parent
9adc4d2b36
commit
1a24c3c989
@ -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
|
||||
|
@ -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
|
||||
|
Loading…
x
Reference in New Issue
Block a user