public interface NativeQueryInterpreter extends Service
Modifier and Type | Method and Description |
---|---|
default CustomLoader |
createCustomLoader(CustomQuery customQuery,
SessionFactoryImplementor sessionFactory)
Deprecated.
This method will be removed in 6.
|
NativeSQLQueryPlan |
createQueryPlan(NativeSQLQuerySpecification specification,
SessionFactoryImplementor sessionFactory)
Creates a new query plan for the specified native query.
|
ParameterMetadataImpl |
getParameterMetadata(String nativeQuery)
Returns a meta-data object with information about the named and ordinal
parameters contained in the given native query.
|
ParameterMetadataImpl 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 factory@Deprecated default CustomLoader createCustomLoader(CustomQuery customQuery, SessionFactoryImplementor sessionFactory)
CustomLoader
for the given CustomQuery
.customQuery
- The CustomQuery to create a loader forsessionFactory
- The current session factoryCopyright © 2019 JBoss by Red Hat. All rights reserved.