com.mysema.query.jpa.impl
Class DefaultSessionHolder
java.lang.Object
com.mysema.query.jpa.impl.DefaultSessionHolder
- All Implemented Interfaces:
- JPASessionHolder
public class DefaultSessionHolder
- extends Object
- implements JPASessionHolder
Default implementation of the JPQSessionHolder interface
- Author:
- tiwe
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
DefaultSessionHolder
public DefaultSessionHolder(javax.persistence.EntityManager entityManager)
createQuery
public javax.persistence.Query createQuery(String queryString)
- Description copied from interface:
JPASessionHolder
- Create a JPQL query for the given query string
- Specified by:
createQuery
in interface JPASessionHolder
- Returns:
createSQLQuery
public javax.persistence.Query createSQLQuery(String sqlString)
- Description copied from interface:
JPASessionHolder
- Create an SQL query for the given query string
- Specified by:
createSQLQuery
in interface JPASessionHolder
- Returns:
createSQLQuery
public javax.persistence.Query createSQLQuery(String sqlString,
Class<?> resultClass)
- Specified by:
createSQLQuery
in interface JPASessionHolder
- Returns:
Copyright © 2007-2011 Mysema Ltd. All Rights Reserved.