#822 - EbeanServer.getBeanId(entity) does not trigger jdbc batch flush - when bean inserted with jdbc batch mode

This commit is contained in:
Robin Bygrave
2016-09-22 21:25:22 +12:00
parent bd3e7c8035
commit a3143b1cf6
2 changed files with 35 additions and 1 deletions
@@ -1814,7 +1814,7 @@ public class BeanDescriptor<T> implements MetaBeanInfo, BeanType<T> {
* properties that make up the unique id.
*/
public Object getId(EntityBean bean) {
return (idProperty == null) ? null : idProperty.getValue(bean);
return (idProperty == null) ? null : idProperty.getValueIntercept(bean);
}
@Override