javax.ejb.EJBHome, java.rmi.Remotepublic interface QueryHome
| 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 ejbql) |
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 java.rmi.RemoteException
java.rmi.RemoteExceptionPreparedQuery prepareQuery(java.lang.String ejbql) throws java.rmi.RemoteException
java.rmi.RemoteExceptionPreparedQuery prepareQuery(java.lang.String ejbql, java.util.Properties props) throws java.rmi.RemoteException
java.rmi.RemoteExceptionQuery createSqlQuery() throws java.rmi.RemoteException
java.rmi.RemoteExceptionjava.lang.String nativeQuery(java.lang.String ejbql)
throws java.rmi.RemoteException
java.rmi.RemoteExceptionjava.lang.String getDatabaseProductName()
throws java.rmi.RemoteException
java.rmi.RemoteExceptionjava.lang.String getDatabaseProductVersion()
throws java.rmi.RemoteException
java.rmi.RemoteException