mirror of
https://github.com/ebean-orm/ebean.git
synced 2026-11-24 07:14:55 +00:00
#1747 - Refactor io.ebeaninternal.server.query access and remove unused
This commit is contained in:
1 parent
cd9a43c3ab
commit
2f8a99c304
22 files changed
+45
-147
No files matched your search
@@ -6,30 +6,18 @@ import io.ebeaninternal.api.SpiQuery;
|
||||
|
||||
/**
|
||||
* Base object for making query execution into Callable's.
|
||||
*
|
||||
* @param <T> the entity bean type
|
||||
* @author rbygrave
|
||||
*/
|
||||
abstract class CallableQuery<T> {
|
||||
|
||||
protected final SpiQuery<T> query;
|
||||
final SpiQuery<T> query;
|
||||
|
||||
protected final SpiEbeanServer server;
|
||||
final SpiEbeanServer server;
|
||||
|
||||
protected final Transaction transaction;
|
||||
final Transaction transaction;
|
||||
|
||||
CallableQuery(SpiEbeanServer server, SpiQuery<T> query, Transaction t) {
|
||||
this.server = server;
|
||||
this.query = query;
|
||||
this.transaction = t;
|
||||
}
|
||||
|
||||
public SpiQuery<T> getQuery() {
|
||||
return query;
|
||||
}
|
||||
|
||||
public Transaction getTransaction() {
|
||||
return transaction;
|
||||
}
|
||||
|
||||
}
|
||||
Reference in new issue
Block a user