PreparedQuery, Query, WLQueryPropertiespublic interface QueryProperties
| Modifier and Type | Field | Description |
|---|---|---|
static short |
TX_MANDATORY |
|
static short |
TX_REQUIRED |
|
static short |
TX_REQUIRES_NEW |
| Modifier and Type | Method | 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 javax.ejb.FinderException
javax.ejb.FinderExceptionshort getTransaction()
throws javax.ejb.FinderException
javax.ejb.FinderExceptionvoid setMaxElements(int value)
throws javax.ejb.FinderException
javax.ejb.FinderExceptionint getMaxElements()
throws javax.ejb.FinderException
javax.ejb.FinderExceptionvoid setIncludeUpdates(boolean value)
throws javax.ejb.FinderException
javax.ejb.FinderExceptionboolean getIncludeUpdates()
throws javax.ejb.FinderException
javax.ejb.FinderExceptionvoid setResultTypeRemote(boolean value)
throws javax.ejb.FinderException
javax.ejb.FinderExceptionboolean isResultTypeRemote()
throws javax.ejb.FinderException
javax.ejb.FinderExceptionvoid setEnableQueryCaching(boolean value)
throws javax.ejb.FinderException
javax.ejb.FinderExceptionboolean getEnableQueryCaching()
throws javax.ejb.FinderException
javax.ejb.FinderException