jakarta.ejb.EJBLocalHome
public 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 jakarta.ejb.EJBException
jakarta.ejb.EJBException
PreparedQuery prepareQuery(java.lang.String ejbql) throws jakarta.ejb.EJBException
jakarta.ejb.EJBException
PreparedQuery prepareQuery(java.lang.String ejbql, java.util.Properties props) throws jakarta.ejb.EJBException
jakarta.ejb.EJBException
Query createSqlQuery() throws jakarta.ejb.EJBException
jakarta.ejb.EJBException
java.lang.String nativeQuery(java.lang.String query) throws jakarta.ejb.EJBException
jakarta.ejb.EJBException
java.lang.String getDatabaseProductName() throws jakarta.ejb.EJBException
jakarta.ejb.EJBException
java.lang.String getDatabaseProductVersion() throws jakarta.ejb.EJBException
jakarta.ejb.EJBException