bug fix for version field

This commit is contained in:
Rizwan Idrees 2013-02-06 11:58:15 +00:00
parent 2ab686c1d4
commit c3f7309b9f

View File

@ -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;
}