Top Fields Constructors Methods
org.hibernate.engine.query.internal

public Class NativeQueryInterpreterStandardImpl

extends Object
implements NativeQueryInterpreter
Class Inheritance
All Implemented Interfaces
org.hibernate.engine.query.spi.NativeQueryInterpreter, org.hibernate.service.Service, java.io.Serializable
Imports
org.hibernate.engine.query.spi.NativeQueryInterpreter, .NativeSQLQueryPlan, .ParamLocationRecognizer, org.hibernate.engine.query.spi.sql.NativeSQLQuerySpecification, org.hibernate.engine.spi.SessionFactoryImplementor, org.hibernate.loader.custom.CustomQuery, org.hibernate.loader.custom.sql.SQLCustomQuery, org.hibernate.query.internal.ParameterMetadataImpl

Author
Steve Ebersole

Field Summary

Modifier and TypeField and Description
private final SessionFactoryImplementor
sessionFactory

Deprecated as a consequence of SessionFactoryImplementor being deprecated.

Constructor Summary

AccessConstructor and Description
public
NativeQueryInterpreterStandardImpl(SessionFactoryImplementor sessionFactory)

Deprecated as a consequence of SessionFactoryImplementor being deprecated.

Method Summary

Modifier and TypeMethod and Description
public NativeSQLQueryPlan
createQueryPlan(NativeSQLQuerySpecification
Describes the query to create a plan for
specification
,
SessionFactoryImplementor
The current session factory
sessionFactory
)

Implements org.hibernate.engine.query.spi.NativeQueryInterpreter.createQueryPlan.

Deprecated as a consequence of SessionFactoryImplementor being deprecated.
Creates a new query plan for the specified native query.
public ParameterMetadataImpl
getParameterMetadata(String
the native query to analyze.
nativeQuery
)

Implements org.hibernate.engine.query.spi.NativeQueryInterpreter.getParameterMetadata.

Returns a meta-data object with information about the named and ordinal parameters contained in the given native query.
Inherited from java.lang.Object:
cloneequalsfinalizegetClasshashCodenotifynotifyAlltoStringwaitwaitwait

Field Detail

sessionFactoryback to summary
private final SessionFactoryImplementor sessionFactory

Deprecated

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

Constructor Detail

NativeQueryInterpreterStandardImplback to summary
public NativeQueryInterpreterStandardImpl(SessionFactoryImplementor sessionFactory)

Deprecated

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

Method Detail

createQueryPlanback to summary
public NativeSQLQueryPlan createQueryPlan(NativeSQLQuerySpecification specification, SessionFactoryImplementor sessionFactory)

Implements org.hibernate.engine.query.spi.NativeQueryInterpreter.createQueryPlan.

Doc from org.hibernate.engine.query.spi.NativeQueryInterpreter.createQueryPlan.

Deprecated

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

Creates a new query plan for the specified native query.

Parameters
specification:NativeSQLQuerySpecification

Describes the query to create a plan for

sessionFactory:SessionFactoryImplementor

The current session factory

Returns:NativeSQLQueryPlan

A query plan for the specified native query.

Annotations
@Override
getParameterMetadataback to summary
public ParameterMetadataImpl getParameterMetadata(String nativeQuery)

Implements org.hibernate.engine.query.spi.NativeQueryInterpreter.getParameterMetadata.

Doc from org.hibernate.engine.query.spi.NativeQueryInterpreter.getParameterMetadata.

Returns a meta-data object with information about the named and ordinal parameters contained in the given native query.

Parameters
nativeQuery:String

the native query to analyze.

Returns:ParameterMetadataImpl

a meta-data object describing the parameters of the given query. Must not be null.

Annotations
@Override