public interface NativeQueryInterpreter extends Service
Modifier and Type | Method and Description |
---|---|
NativeSQLQueryPlan |
createQueryPlan(NativeSQLQuerySpecification specification,
SessionFactoryImplementor sessionFactory)
Creates a new query plan for the specified native query.
|
ParameterMetadata |
getParameterMetadata(String nativeQuery)
Returns a meta-data object with information about the named and ordinal
parameters contained in the given native query.
|
ParameterMetadata getParameterMetadata(String nativeQuery)
nativeQuery
- the native query to analyze.null
.NativeSQLQueryPlan createQueryPlan(NativeSQLQuerySpecification specification, SessionFactoryImplementor sessionFactory)
specification
- Describes the query to create a plan forsessionFactory
- The current session factoryCopyright © 2001-2017 Red Hat, Inc. All Rights Reserved.