public interface QueryLocalHome extends EJBLocalHome
| Modifier and Type | Method and Description |
|---|---|
Query |
createQuery()
Creates a query that doesn't take input parameters.
|
Query |
createSqlQuery()
Creates a query that doesn't take input parameters.
|
String |
getDatabaseProductName() |
String |
getDatabaseProductVersion() |
String |
nativeQuery(String query)
Returns the result of calling JDBC's nativeSQL() method.
|
PreparedQuery |
prepareQuery(String ejbql)
Creates a prepared query that takes input parameters.
|
PreparedQuery |
prepareQuery(String ejbql,
Properties props)
Creates a prepared query that takes input parameters and properties
|
removeQuery createQuery() throws EJBException
EJBExceptionPreparedQuery prepareQuery(String ejbql) throws EJBException
EJBExceptionPreparedQuery prepareQuery(String ejbql, Properties props) throws EJBException
EJBExceptionQuery createSqlQuery() throws EJBException
EJBExceptionString nativeQuery(String query) throws EJBException
EJBExceptionString getDatabaseProductName() throws EJBException
EJBExceptionString getDatabaseProductVersion() throws EJBException
EJBException