#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

@@ -2,12 +2,23 @@ package io.ebeanservice.docstore.api;
import io.ebean.text.json.JsonReadOptions;
import io.ebeaninternal.api.SpiQuery;
import io.ebeaninternal.api.SpiTransaction;
/**
* A Query request for the document store.
*/
public interface DocQueryRequest<T> {
/**
* Return the transaction for this request (can be null for document store only queries).
*/
SpiTransaction getTransaction();
/**
* Set the (document store) transaction to use for this query.
*/
void setTransaction(SpiTransaction transaction);
/**
* Return the query for this request.
*/