public final class NoSessionHolder extends java.lang.Object implements SessionHolder
Modifier and Type | Field and Description |
---|---|
static SessionHolder |
DEFAULT |
Modifier and Type | Method and Description |
---|---|
org.hibernate.Query |
createQuery(java.lang.String queryString)
Create a JPQL query for the given query string
|
org.hibernate.SQLQuery |
createSQLQuery(java.lang.String queryString)
Create an SQL query for the given query string
|
public static final SessionHolder DEFAULT
public org.hibernate.Query createQuery(java.lang.String queryString)
SessionHolder
createQuery
in interface SessionHolder
public org.hibernate.SQLQuery createSQLQuery(java.lang.String queryString)
SessionHolder
createSQLQuery
in interface SessionHolder
Copyright © 2007-2013 Mysema Ltd. All Rights Reserved.