org.hibernate.query.criteria.internal.compile.CriteriaInterpretation Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of hibernate-core Show documentation
Show all versions of hibernate-core Show documentation
JPMS Module-Info's for a few of the Jakarta Libraries just until they add them in themselves
/*
* Hibernate, Relational Persistence for Idiomatic Java
*
* License: GNU Lesser General Public License (LGPL), version 2.1 or later.
* See the lgpl.txt file in the root directory or .
*/
package org.hibernate.query.criteria.internal.compile;
import org.hibernate.engine.spi.SharedSessionContractImplementor;
import org.hibernate.query.spi.QueryImplementor;
/**
* The interpretation of a JPA criteria object.
*
* @author Steve Ebersole
*/
public interface CriteriaInterpretation {
/**
* Generate a {@link javax.persistence.Query} instance given the interpreted criteria compiled against the
* passed EntityManager.
*
*
* @param entityManager The EntityManager against which to create the Query instance.
* @param interpretedParameterMetadata parameter metadata
*
* @return The created Query instance.
*/
QueryImplementor buildCompiledQuery(SharedSessionContractImplementor entityManager, InterpretedParameterMetadata interpretedParameterMetadata);
}