mirror of
https://github.com/ebean-orm/ebean.git
synced 2024-04-21 10:51:47 +00:00
#922 - NPE Issue with ebean-elastic and multi-tenant Ebean ... NPE at DLoadContext line 96
This commit is contained in:
@@ -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.
|
||||
*/
|
||||
|
||||
Reference in New Issue
Block a user