#922 - NPE Issue with ebean-elastic and multi-tenant Ebean ... NPE at DLoadContext line 96

This commit is contained in:
Rob Bygrave committed 2016-12-14 00:53:30 +13:00
1 parent cf37fda3f4
commit 4941134ce1
4 files changed
+25 -1

No files matched your search

@@ -93,7 +93,7 @@ public class DLoadContext implements LoadContext {
public DLoadContext(OrmQueryRequest<?> request, SpiQuerySecondary secondaryQueries) {
this.tenantId = request.getTransaction().getTenantId();
this.tenantId = request.getTenantId();
this.persistenceContext = request.getPersistenceContext();
this.ebeanServer = request.getServer();
this.defaultBatchSize = request.getLazyLoadBatchSize();