Interface NativeQueryInterpreter

  • All Superinterfaces:
    Serializable, Service

    public interface NativeQueryInterpreter
    extends Service
    Service contract for dealing with native queries.
    • Method Detail

      • getParameterMetadata

        org.hibernate.query.internal.ParameterMetadataImpl getParameterMetadata​(String nativeQuery)
        Returns a meta-data object with information about the named and ordinal parameters contained in the given native query.
        Parameters:
        nativeQuery - the native query to analyze.
        Returns:
        a meta-data object describing the parameters of the given query. Must not be null.
      • createQueryPlan

        NativeSQLQueryPlan createQueryPlan​(NativeSQLQuerySpecification specification,
                                           SessionFactoryImplementor sessionFactory)
        Creates a new query plan for the specified native query.
        Parameters:
        specification - Describes the query to create a plan for
        sessionFactory - The current session factory
        Returns:
        A query plan for the specified native query.