Interface NativeQueryInterpreter

All Superinterfaces:
Serializable, Service
All Known Implementing Classes:
NativeQueryInterpreterStandardImpl

@Incubating public interface NativeQueryInterpreter extends Service
Service contract for dealing with native queries.
  • Method Details

    • recognizeParameters

      void recognizeParameters(String nativeQuery, ParameterRecognizer recognizer)
      Parse the given native query and inform the recognizer of all recognized parameter markers.
      Parameters:
      nativeQuery - The query to recognize parameters in
      recognizer - 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