public class DefaultSessionHolder extends Object implements SessionHolder
DefaultSessionHolder is the default implementation of the SessionHolder interface| Constructor and Description |
|---|
DefaultSessionHolder(org.hibernate.Session session) |
| 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 org.hibernate.Query createQuery(String queryString)
SessionHoldercreateQuery in interface SessionHolderqueryString - JPQL query stringpublic org.hibernate.SQLQuery createSQLQuery(String queryString)
SessionHoldercreateSQLQuery in interface SessionHolderqueryString - JPQL query stringCopyright © 2007–2015 Mysema Ltd. All rights reserved.