public class CriteriaQueryCompiler extends Object implements Serializable
TypedQuery
. Its single contract is the compile(javax.persistence.criteria.CriteriaQuery<T>)
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.Modifier and Type | Class and Description |
---|---|
static interface |
CriteriaQueryCompiler.ImplicitParameterBinding
Used to describe implicit (not defined in criteria query) parameters.
|
static interface |
CriteriaQueryCompiler.RenderedCriteriaQuery |
static interface |
CriteriaQueryCompiler.RenderingContext
Used to provide a context and services to the rendering.
|
Constructor and Description |
---|
CriteriaQueryCompiler(HibernateEntityManagerImplementor entityManager) |
public CriteriaQueryCompiler(HibernateEntityManagerImplementor entityManager)
public <T> TypedQuery<T> compile(CriteriaQuery<T> criteriaQuery)
Copyright © 2018 JBoss by Red Hat. All rights reserved.