Package org.hibernate.engine.query.spi
Interface NativeQueryInterpreter
- All Superinterfaces:
Serializable
,Service
- All Known Implementing Classes:
NativeQueryInterpreterStandardImpl
Service contract for dealing with native queries.
-
Method Summary
Modifier and TypeMethodDescriptiondefault <R> NativeSelectQueryPlan<R>
createQueryPlan
(NativeSelectQueryDefinition<R> queryDefinition, SessionFactoryImplementor sessionFactory) Creates a new query plan for the passed native query definitionvoid
recognizeParameters
(String nativeQuery, ParameterRecognizer recognizer) Parse the given native query and inform the recognizer of all recognized parameter markers.
-
Method Details
-
recognizeParameters
Parse the given native query and inform the recognizer of all recognized parameter markers.- Parameters:
nativeQuery
- The query to recognize parameters inrecognizer
- The recognizer to call
-
createQueryPlan
default <R> NativeSelectQueryPlan<R> createQueryPlan(NativeSelectQueryDefinition<R> queryDefinition, SessionFactoryImplementor sessionFactory) Creates a new query plan for the passed native query definition
-