All Downloads are FREE. Search and download functionalities are using the official Maven repository.

org.hibernate.jpa.criteria.compile.CriteriaInterpretation Maven / Gradle / Ivy

There is a newer version: 5.4.2.Final
Show newest version
/*
 * 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.jpa.criteria.compile;

import javax.persistence.Query;

import org.hibernate.jpa.spi.HibernateEntityManagerImplementor;

/**
 * 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.
	 */
	public Query buildCompiledQuery(HibernateEntityManagerImplementor entityManager, InterpretedParameterMetadata interpretedParameterMetadata);
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy