Merge branch 'feature/load-error' of https://github.com/FOCONIS/ebean into FOCONIS-feature/load-error

This commit is contained in:
rob bygrave
2019-01-09 19:25:50 +13:00
26 changed files with 221 additions and 24 deletions
@@ -8,6 +8,7 @@ import io.ebean.PersistenceContextScope;
import io.ebean.ProfileLocation;
import io.ebean.Query;
import io.ebean.bean.CallStack;
import io.ebean.bean.EntityBean;
import io.ebean.bean.ObjectGraphNode;
import io.ebean.bean.PersistenceContext;
import io.ebean.event.readaudit.ReadEvent;
@@ -15,6 +16,7 @@ import io.ebean.plugin.BeanType;
import io.ebeaninternal.server.autotune.ProfilingListener;
import io.ebeaninternal.server.core.SpiOrmQueryRequest;
import io.ebeaninternal.server.deploy.BeanDescriptor;
import io.ebeaninternal.server.deploy.BeanProperty;
import io.ebeaninternal.server.deploy.BeanPropertyAssocMany;
import io.ebeaninternal.server.deploy.TableJoin;
import io.ebeaninternal.server.query.CancelableQuery;
@@ -849,4 +851,9 @@ public interface SpiQuery<T> extends Query<T>, TxnProfileEventCodes {
* Returns the count distinct order setting.
*/
CountDistinctOrder getCountDistinctOrder();
/**
* Handles load errors.
*/
void handleLoadError(EntityBean bean, BeanProperty prop, String fullName, Exception e);
}