public class StatelessSessionHolder extends Object implements SessionHolder
Constructor and Description |
---|
StatelessSessionHolder(org.hibernate.StatelessSession 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 StatelessSessionHolder(org.hibernate.StatelessSession session)
public org.hibernate.Query createQuery(String queryString)
SessionHolder
createQuery
in interface SessionHolder
public org.hibernate.SQLQuery createSQLQuery(String queryString)
SessionHolder
createSQLQuery
in interface SessionHolder
Copyright © 2007–2015 Mysema Ltd. All rights reserved.