接口 NativeQueryInterpreter

    • 方法详细资料

      • getParameterMetadata

        ParameterMetadataImpl getParameterMetadata​(String nativeQuery)
        Returns a meta-data object with information about the named and ordinal parameters contained in the given native query.
        参数:
        nativeQuery - the native query to analyze.
        返回:
        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.
        参数:
        specification - Describes the query to create a plan for
        sessionFactory - The current session factory
        返回:
        A query plan for the specified native query.