com.mysema.query.jpa.hibernate
Class NoSessionHolder
java.lang.Object
com.mysema.query.jpa.hibernate.NoSessionHolder
- All Implemented Interfaces:
- SessionHolder
public final class NoSessionHolder
- extends Object
- implements SessionHolder
NoSessionHolder is a session holder for detached HibernateQuery usage
- Author:
- tiwe
Method Summary |
org.hibernate.Query |
createQuery(String queryString)
Create a JPQL query for the given query string |
org.hibernate.SQLQuery |
createSQLQuery(String queryString)
Create an SQL query for the given query string |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
DEFAULT
public static final SessionHolder DEFAULT
createQuery
public org.hibernate.Query createQuery(String queryString)
- Description copied from interface:
SessionHolder
- Create a JPQL query for the given query string
- Specified by:
createQuery
in interface SessionHolder
- Returns:
createSQLQuery
public org.hibernate.SQLQuery createSQLQuery(String queryString)
- Description copied from interface:
SessionHolder
- Create an SQL query for the given query string
- Specified by:
createSQLQuery
in interface SessionHolder
- Returns:
Copyright © 2007-2011 Mysema Ltd. All Rights Reserved.