public interface Query extends QueryProperties
TX_MANDATORY, TX_REQUIRED, TX_REQUIRES_NEW| Modifier and Type | Method and Description |
|---|---|
ResultSet |
execute(String query)
Executes the specified query.
|
ResultSet |
execute(String query,
Properties props)
Executes the specified query.
|
Collection |
find(String query)
Executes the specified query.
|
Collection |
find(String query,
Properties props)
Executes the specified query.
|
String |
getLanguage()
This method can be called to find out what query language
this Query instance is using.
|
getEnableQueryCaching, getIncludeUpdates, getMaxElements, getTransaction, isResultTypeRemote, setEnableQueryCaching, setIncludeUpdates, setMaxElements, setResultTypeRemote, setTransactionCollection find(String query) throws FinderException
FinderExceptionCollection find(String query, Properties props) throws FinderException
FinderExceptionResultSet execute(String query) throws FinderException
FinderExceptionResultSet execute(String query, Properties props) throws FinderException
FinderExceptionString getLanguage()