org.keel.services.persist.hibernate
Class HibernateQueryImpl
java.lang.Object
QueryImpl
org.keel.services.persist.hibernate.HibernateQueryImpl
- public class HibernateQueryImpl
- extends QueryImpl
- Author:
- Santanu Dutt
- See Also:
- Serialized Form
| Constructor Summary |
HibernateQueryImpl(java.lang.String queryString, SessionImplementor session)
|
| Method Summary |
java.util.List |
getQueryResult(com.sun.corba.se.internal.ior.ObjectKey ok)
TODO: |
java.util.List |
getQueryResults()
This is implementation of method in Query interface |
java.util.List |
getQueryResults(java.util.SortedSet objectKeys)
|
java.util.List |
list()
Deprecated. public List getQueryResults() should be used instead, because it implements the Query interface |
void |
setCriteria(java.lang.String critName, java.lang.Object val)
|
void |
setFactory(PersistentFactory pf)
|
void |
setName(java.lang.String name)
|
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
pf
private PersistentFactory pf
-
name
private java.lang.String name
-
HibernateQueryImpl
public HibernateQueryImpl(java.lang.String queryString,
SessionImplementor session)
setCriteria
public void setCriteria(java.lang.String critName,
java.lang.Object val)
-
setFactory
public void setFactory(PersistentFactory pf)
-
setName
public void setName(java.lang.String name)
-
getQueryResult
public java.util.List getQueryResult(com.sun.corba.se.internal.ior.ObjectKey ok)
-
TODO:
-
getQueryResults
public java.util.List getQueryResults(java.util.SortedSet objectKeys)
-
getQueryResults
public java.util.List getQueryResults()
throws QueryException
-
This is implementation of method in Query interface
-
- Returns:
- the list of query results.
- Throws:
QueryException - Thrown in the case of system failure.
list
public java.util.List list()
throws HibernateException
-
Deprecated. public List getQueryResults() should be used instead, because it implements the Query interface
-
- Returns:
- the list of query results.
- Throws:
HibernateException - thrown in the case of system failure.
Please see keelframework.org for information about new Keel releases.