mirror of
https://github.com/spring-projects/spring-data-elasticsearch.git
synced 2025-05-31 17:22:11 +00:00
bug fix for version field
This commit is contained in:
parent
2ab686c1d4
commit
c3f7309b9f
@ -96,7 +96,7 @@ public class MappingElasticsearchEntityInformation<T, ID extends Serializable> e
|
||||
return (Long) BeanWrapper.create(entity, null).getProperty(versionProperty);
|
||||
}
|
||||
} catch (Exception e) {
|
||||
logger.debug("failed to retrieve version", e);
|
||||
throw new IllegalStateException("failed to load version field", e);
|
||||
}
|
||||
return null;
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user