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, setTransaction
Collection find(String query) throws FinderException
FinderException
Collection find(String query, Properties props) throws FinderException
FinderException
ResultSet execute(String query) throws FinderException
FinderException
ResultSet execute(String query, Properties props) throws FinderException
FinderException
String getLanguage()