public interface QueryProperties
| Modifier and Type | Field and Description |
|---|---|
static short |
TX_MANDATORY |
static short |
TX_REQUIRED |
static short |
TX_REQUIRES_NEW |
| Modifier and Type | Method and Description |
|---|---|
boolean |
getEnableQueryCaching() |
boolean |
getIncludeUpdates() |
int |
getMaxElements() |
short |
getTransaction() |
boolean |
isResultTypeRemote() |
void |
setEnableQueryCaching(boolean value)
Used to turn query caching on
|
void |
setIncludeUpdates(boolean value)
Used to specify whether any updates that have been made during the current
transaction will be reflected in the query result.
|
void |
setMaxElements(int value)
Sets the maximum number of results that can be returned.
|
void |
setResultTypeRemote(boolean value)
Used to specify whether the results of the query will be EJBObjects
or EJBLocalObjects.
|
void |
setTransaction(short value)
Uses the standard EJB values: Required, RequiresNew, etc.
|
static final short TX_REQUIRED
static final short TX_REQUIRES_NEW
static final short TX_MANDATORY
void setTransaction(short value)
throws FinderException
FinderExceptionshort getTransaction()
throws FinderException
FinderExceptionvoid setMaxElements(int value)
throws FinderException
FinderExceptionint getMaxElements()
throws FinderException
FinderExceptionvoid setIncludeUpdates(boolean value)
throws FinderException
FinderExceptionboolean getIncludeUpdates()
throws FinderException
FinderExceptionvoid setResultTypeRemote(boolean value)
throws FinderException
FinderExceptionboolean isResultTypeRemote()
throws FinderException
FinderExceptionvoid setEnableQueryCaching(boolean value)
throws FinderException
FinderExceptionboolean getEnableQueryCaching()
throws FinderException
FinderException