Top Description Methods
org.hibernate.engine.query.spi

public Interface NativeQueryInterpreter

extends Service
Known Direct Implementers
org.hibernate.engine.query.internal.NativeQueryInterpreterStandardImpl
Annotations
@Incubating
Imports
org.hibernate.Incubating, org.hibernate.engine.spi.SessionFactoryImplementor, org.hibernate.query.sql.internal.NativeSelectQueryPlanImpl, org.hibernate.query.sql.spi.NativeSelectQueryDefinition, .NativeSelectQueryPlan, .ParameterRecognizer, org.hibernate.service.Service

Service contract for dealing with native queries.
Authors
Steve Ebersole, Gunnar Morling, Guillaume Smet

Method Summary

Modifier and TypeMethod and Description
public default <R> NativeSelectQueryPlan<R>
createQueryPlan(NativeSelectQueryDefinition<R> queryDefinition, SessionFactoryImplementor sessionFactory)

Deprecated as a consequence of SessionFactoryImplementor being deprecated.
Creates a new query plan for the passed native query definition
public void
recognizeParameters(String
The query to recognize parameters in
nativeQuery
,
ParameterRecognizer
The recognizer to call
recognizer
)

Parse the given native query and inform the recognizer of all recognized parameter markers.

Method Detail

createQueryPlanback to summary
public default <R> NativeSelectQueryPlan<R> createQueryPlan(NativeSelectQueryDefinition<R> queryDefinition, SessionFactoryImplementor sessionFactory)

Deprecated

as a consequence of SessionFactoryImplementor being deprecated. See corresponding docs for further information.

Creates a new query plan for the passed native query definition

recognizeParametersback to summary
public void recognizeParameters(String nativeQuery, ParameterRecognizer recognizer)

Parse the given native query and inform the recognizer of all recognized parameter markers.

Parameters
nativeQuery:String

The query to recognize parameters in

recognizer:ParameterRecognizer

The recognizer to call