public final class NoSessionHolder extends Object implements SessionHolder
NoSessionHolder
is a session holder for detached HibernateQuery
usageModifier and Type | Field and Description |
---|---|
static SessionHolder |
DEFAULT |
Modifier and Type | Method and Description |
---|---|
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
|
public static final SessionHolder DEFAULT
public org.hibernate.Query createQuery(String queryString)
SessionHolder
createQuery
in interface SessionHolder
queryString
- JPQL query stringpublic org.hibernate.SQLQuery createSQLQuery(String queryString)
SessionHolder
createSQLQuery
in interface SessionHolder
queryString
- JPQL query stringCopyright © 2007–2016 Querydsl. All rights reserved.