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