org.hibernate.ejb.criteria
Class CriteriaQueryCompiler
java.lang.Object
org.hibernate.ejb.criteria.CriteriaQueryCompiler
- All Implemented Interfaces:
- Serializable
public class CriteriaQueryCompiler
- extends Object
- implements Serializable
Compiles a JPA criteria query into an executable TypedQuery
. Its single contract is the compile(javax.persistence.criteria.CriteriaQuery)
method.
NOTE : This is a temporary implementation which simply translates the criteria query into a JPAQL query string. A
better, long-term solution is being implemented as part of refactoring the JPAQL/HQL translator.
- Author:
- Steve Ebersole
- See Also:
- Serialized Form
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
CriteriaQueryCompiler
public CriteriaQueryCompiler(HibernateEntityManagerImplementor entityManager)
compile
public <T> TypedQuery<T> compile(javax.persistence.criteria.CriteriaQuery<T> criteriaQuery)
Copyright © 2001-2010 Red Hat, Inc. All Rights Reserved.