T - the entity bean typepublic class CallableQueryRowCount<T> extends CallableQuery<T> implements Callable<Integer>
query, server, transaction| Constructor and Description |
|---|
CallableQueryRowCount(SpiEbeanServer server,
SpiQuery<T> query,
Transaction t)
Note that the transaction passed in is always a new transaction solely to
find the row count so it must be cleaned up by this CallableQueryRowCount.
|
| Modifier and Type | Method and Description |
|---|---|
Integer |
call()
Execute the query returning the row count.
|
getQuery, getTransactionpublic CallableQueryRowCount(SpiEbeanServer server, SpiQuery<T> query, Transaction t)
Copyright © 2014. All Rights Reserved.