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 jakarta.ejb.FinderException
jakarta.ejb.FinderExceptionshort getTransaction()
throws jakarta.ejb.FinderException
jakarta.ejb.FinderExceptionvoid setMaxElements(int value)
throws jakarta.ejb.FinderException
jakarta.ejb.FinderExceptionint getMaxElements()
throws jakarta.ejb.FinderException
jakarta.ejb.FinderExceptionvoid setIncludeUpdates(boolean value)
throws jakarta.ejb.FinderException
jakarta.ejb.FinderExceptionboolean getIncludeUpdates()
throws jakarta.ejb.FinderException
jakarta.ejb.FinderExceptionvoid setResultTypeRemote(boolean value)
throws jakarta.ejb.FinderException
jakarta.ejb.FinderExceptionboolean isResultTypeRemote()
throws jakarta.ejb.FinderException
jakarta.ejb.FinderExceptionvoid setEnableQueryCaching(boolean value)
throws jakarta.ejb.FinderException
jakarta.ejb.FinderExceptionboolean getEnableQueryCaching()
throws jakarta.ejb.FinderException
jakarta.ejb.FinderException