Package | Description |
---|---|
org.hibernate.cache.spi |
Defines the integration aspect of Hibernate's second-level
caching allowing "caching back ends" to be plugged in as
a caching provider.
|
org.hibernate.dialect |
This package abstracts the SQL dialect of the underlying database.
|
org.hibernate.engine.internal |
Support for many of the internal workings of Hibernate.
|
org.hibernate.engine.query.spi |
Defines support for query plans and stored metadata about queries
|
org.hibernate.engine.spi | |
org.hibernate.hql.internal.ast |
An ANTLR-based parser for Hibernate Query Language.
|
org.hibernate.hql.internal.ast.exec | |
org.hibernate.hql.internal.classic |
This package contains the Hibernate 2.x query parser which
is being end-of-lifed.
|
org.hibernate.hql.spi | |
org.hibernate.hql.spi.id |
Support for multi-table update and delete statements via id-tables.
|
org.hibernate.hql.spi.id.cte | |
org.hibernate.hql.spi.id.inline | |
org.hibernate.internal |
An internal package containing mostly implementations of central Hibernate APIs.
|
org.hibernate.loader |
This package defines functionality for processing JDBC
result sets and returning complex graphs of persistent
objects.
|
org.hibernate.loader.collection |
This package defines collection initializers
|
org.hibernate.loader.criteria |
This package defines the criteria query compiler and loader
|
org.hibernate.loader.custom |
This package defines a framework for custom loaders that accept
handwritten SQL
|
org.hibernate.loader.custom.sql | |
org.hibernate.loader.entity |
This package defines entity loaders
|
org.hibernate.loader.entity.plan | |
org.hibernate.loader.hql |
This package defines a loader for the AST-based query parser
|
org.hibernate.loader.plan.exec.internal |
Provides the internal implementations for generating the load query from the LoadPlan and the ResultSet processor.
|
org.hibernate.loader.plan.exec.process.internal | |
org.hibernate.loader.plan.exec.process.spi | |
org.hibernate.param | |
org.hibernate.procedure.internal |
Defines the internal support for implementing stored procedure calling.
|
org.hibernate.query.internal | |
org.hibernate.result.spi |
Modifier and Type | Method and Description |
---|---|
static QueryKey |
QueryKey.generateQueryKey(String queryString,
QueryParameters queryParameters,
Set filterKeys,
SharedSessionContractImplementor session,
CacheableResultTransformer customTransformer)
Generates a QueryKey.
|
Modifier and Type | Method and Description |
---|---|
String |
Dialect.addSqlHintOrComment(String sql,
QueryParameters parameters,
boolean commentsEnabled)
Modify the SQL, adding hints or comments, if necessary
|
boolean |
Teradata14Dialect.useFollowOnLocking(QueryParameters parameters) |
boolean |
Oracle8iDialect.useFollowOnLocking(QueryParameters parameters)
For Oracle, the FOR UPDATE clause cannot be applied when using ORDER BY, DISTINCT or views.
|
boolean |
Dialect.useFollowOnLocking(QueryParameters parameters)
Some dialects have trouble applying pessimistic locking depending upon what other query options are
specified (paging, ordering, etc).
|
Modifier and Type | Method and Description |
---|---|
static int |
ParameterBinder.bindQueryParameters(PreparedStatement st,
QueryParameters queryParameters,
int start,
ParameterBinder.NamedParameterSource source,
SessionImplementor session)
Perform parameter binding
|
Modifier and Type | Method and Description |
---|---|
int |
NativeSQLQueryPlan.performExecuteUpdate(QueryParameters queryParameters,
SharedSessionContractImplementor session)
Performs the execute query
|
int |
HQLQueryPlan.performExecuteUpdate(QueryParameters queryParameters,
SharedSessionContractImplementor session)
Coordinates the efforts to perform an execution across all the included query translators.
|
Iterator |
HQLQueryPlan.performIterate(QueryParameters queryParameters,
EventSource session)
Coordinates the efforts to perform an iterate across all the included query translators.
|
List |
HQLQueryPlan.performList(QueryParameters queryParameters,
SharedSessionContractImplementor session)
Coordinates the efforts to perform a list across all the included query translators.
|
ScrollableResultsImplementor |
HQLQueryPlan.performScroll(QueryParameters queryParameters,
SharedSessionContractImplementor session)
Coordinates the efforts to perform a scroll across all the included query translators.
|
Modifier and Type | Method and Description |
---|---|
QueryParameters |
QueryParameters.createCopyUsing(RowSelection selection) |
QueryParameters |
SubselectFetch.getQueryParameters() |
Modifier and Type | Method and Description |
---|---|
static String |
SubselectFetch.createSubselectFetchQueryFragment(QueryParameters queryParameters)
Create the subselect fetch query fragment for the provided
QueryParameters
with SELECT and ORDER BY clauses removed. |
int |
SharedSessionContractImplementor.executeNativeUpdate(NativeSQLQuerySpecification specification,
QueryParameters queryParameters)
Execute a native SQL update or delete query
|
int |
SessionDelegatorBaseImpl.executeNativeUpdate(NativeSQLQuerySpecification specification,
QueryParameters queryParameters) |
int |
SharedSessionContractImplementor.executeUpdate(String query,
QueryParameters queryParameters)
Execute a HQL update or delete query
|
int |
SessionDelegatorBaseImpl.executeUpdate(String query,
QueryParameters queryParameters) |
Iterator |
SharedSessionContractImplementor.iterate(String query,
QueryParameters queryParameters)
Execute an iterate() query
|
Iterator |
SessionDelegatorBaseImpl.iterate(String query,
QueryParameters queryParameters) |
Iterator |
SharedSessionContractImplementor.iterateFilter(Object collection,
String filter,
QueryParameters queryParameters)
Iterate a filter
|
Iterator |
SessionDelegatorBaseImpl.iterateFilter(Object collection,
String filter,
QueryParameters queryParameters) |
List |
SharedSessionContractImplementor.list(NativeSQLQuerySpecification spec,
QueryParameters queryParameters)
Execute a native SQL query, and return the results as a fully built list.
|
List |
SessionDelegatorBaseImpl.list(NativeSQLQuerySpecification spec,
QueryParameters queryParameters) |
List |
SharedSessionContractImplementor.list(String query,
QueryParameters queryParameters)
Execute a find() query
|
List |
SessionDelegatorBaseImpl.list(String query,
QueryParameters queryParameters) |
List |
SharedSessionContractImplementor.listCustomQuery(CustomQuery customQuery,
QueryParameters queryParameters)
Execute an SQL Query
|
List |
SessionDelegatorBaseImpl.listCustomQuery(CustomQuery customQuery,
QueryParameters queryParameters) |
List |
SharedSessionContractImplementor.listFilter(Object collection,
String filter,
QueryParameters queryParameters)
Execute a filter
|
List |
SessionDelegatorBaseImpl.listFilter(Object collection,
String filter,
QueryParameters queryParameters) |
ScrollableResultsImplementor |
SharedSessionContractImplementor.scroll(NativeSQLQuerySpecification spec,
QueryParameters queryParameters)
Execute a native SQL query, and return the results as a scrollable result.
|
ScrollableResultsImplementor |
SessionDelegatorBaseImpl.scroll(NativeSQLQuerySpecification spec,
QueryParameters queryParameters) |
ScrollableResultsImplementor |
SharedSessionContractImplementor.scroll(String query,
QueryParameters queryParameters)
Execute a scroll() query
|
ScrollableResultsImplementor |
SessionDelegatorBaseImpl.scroll(String query,
QueryParameters queryParameters) |
ScrollableResultsImplementor |
SharedSessionContractImplementor.scrollCustomQuery(CustomQuery customQuery,
QueryParameters queryParameters)
Execute an SQL Query
|
ScrollableResultsImplementor |
SessionDelegatorBaseImpl.scrollCustomQuery(CustomQuery customQuery,
QueryParameters queryParameters) |
Constructor and Description |
---|
SubselectFetch(String alias,
Loadable loadable,
QueryParameters queryParameters,
Set resultingEntityKeys,
Map namedParameterLocMap)
Construct a SubselectFetch instance.
|
SubselectFetch(String subselectFetchQueryFragment,
String alias,
Loadable loadable,
QueryParameters queryParameters,
Set resultingEntityKeys,
Map namedParameterLocMap)
Construct a SubselectFetch instance using the provided subselect fetch query fragment,
subselectFetchQueryFragment . |
Modifier and Type | Method and Description |
---|---|
int |
QueryTranslatorImpl.executeUpdate(QueryParameters queryParameters,
SharedSessionContractImplementor session) |
Iterator |
QueryTranslatorImpl.iterate(QueryParameters queryParameters,
EventSource session)
Return the query results as an iterator
|
List |
QueryTranslatorImpl.list(SharedSessionContractImplementor session,
QueryParameters queryParameters) |
ScrollableResultsImplementor |
QueryTranslatorImpl.scroll(QueryParameters queryParameters,
SharedSessionContractImplementor session)
Return the query results, as an instance of ScrollableResults
|
Modifier and Type | Method and Description |
---|---|
protected int |
BasicExecutor.doExecute(QueryParameters parameters,
SharedSessionContractImplementor session,
String sql,
List parameterSpecifications) |
int |
StatementExecutor.execute(QueryParameters parameters,
SharedSessionContractImplementor session)
Execute the sql managed by this executor using the given parameters.
|
int |
MultiTableUpdateExecutor.execute(QueryParameters parameters,
SharedSessionContractImplementor session) |
int |
MultiTableDeleteExecutor.execute(QueryParameters parameters,
SharedSessionContractImplementor session) |
int |
DeleteExecutor.execute(QueryParameters parameters,
SharedSessionContractImplementor session) |
int |
BasicExecutor.execute(QueryParameters parameters,
SharedSessionContractImplementor session) |
Modifier and Type | Method and Description |
---|---|
protected String |
QueryTranslatorImpl.applyLocks(String sql,
QueryParameters parameters,
Dialect dialect,
List<AfterLoadAction> afterLoadActions) |
int |
PositionalParameterInformationImpl.bind(PreparedStatement statement,
QueryParameters qp,
SharedSessionContractImplementor session,
int position) |
int |
NamedParameterInformationImpl.bind(PreparedStatement statement,
QueryParameters qp,
SharedSessionContractImplementor session,
int position) |
protected int |
QueryTranslatorImpl.bindParameterValues(PreparedStatement statement,
QueryParameters queryParameters,
int startIndex,
SharedSessionContractImplementor session) |
int |
QueryTranslatorImpl.executeUpdate(QueryParameters queryParameters,
SharedSessionContractImplementor session) |
Iterator |
QueryTranslatorImpl.iterate(QueryParameters queryParameters,
EventSource session)
Return the query results as an iterator
|
List |
QueryTranslatorImpl.list(SharedSessionContractImplementor session,
QueryParameters queryParameters) |
ScrollableResultsImplementor |
QueryTranslatorImpl.scroll(QueryParameters queryParameters,
SharedSessionContractImplementor session) |
Modifier and Type | Method and Description |
---|---|
int |
QueryTranslator.executeUpdate(QueryParameters queryParameters,
SharedSessionContractImplementor session)
Perform a bulk update/delete operation given the underlying query definition.
|
Iterator |
QueryTranslator.iterate(QueryParameters queryParameters,
EventSource session)
Perform an iterate operation given the underlying query definition.
|
List |
QueryTranslator.list(SharedSessionContractImplementor session,
QueryParameters queryParameters)
Perform a list operation given the underlying query definition.
|
ScrollableResultsImplementor |
QueryTranslator.scroll(QueryParameters queryParameters,
SharedSessionContractImplementor session)
Perform a scroll operation given the underlying query definition.
|
Modifier and Type | Method and Description |
---|---|
int |
TableBasedUpdateHandlerImpl.execute(SharedSessionContractImplementor session,
QueryParameters queryParameters) |
int |
TableBasedDeleteHandlerImpl.execute(SharedSessionContractImplementor session,
QueryParameters queryParameters) |
int |
MultiTableBulkIdStrategy.UpdateHandler.execute(SharedSessionContractImplementor session,
QueryParameters queryParameters) |
int |
MultiTableBulkIdStrategy.DeleteHandler.execute(SharedSessionContractImplementor session,
QueryParameters queryParameters) |
protected List<Object[]> |
AbstractIdsBulkIdHandler.selectIds(SharedSessionContractImplementor session,
QueryParameters queryParameters) |
Modifier and Type | Method and Description |
---|---|
int |
CteValuesListUpdateHandlerImpl.execute(SharedSessionContractImplementor session,
QueryParameters queryParameters) |
int |
CteValuesListDeleteHandlerImpl.execute(SharedSessionContractImplementor session,
QueryParameters queryParameters) |
protected CteValuesListBuilder |
AbstractCteValuesListBulkIdHandler.prepareCteStatement(SharedSessionContractImplementor session,
QueryParameters queryParameters) |
Modifier and Type | Method and Description |
---|---|
int |
AbstractInlineIdsUpdateHandlerImpl.execute(SharedSessionContractImplementor session,
QueryParameters queryParameters) |
int |
AbstractInlineIdsDeleteHandlerImpl.execute(SharedSessionContractImplementor session,
QueryParameters queryParameters) |
protected IdsClauseBuilder |
AbstractInlineIdsBulkIdHandler.prepareInlineStatement(SharedSessionContractImplementor session,
QueryParameters queryParameters) |
Modifier and Type | Method and Description |
---|---|
protected QueryParameters |
AbstractScrollableResults.getQueryParameters() |
Modifier and Type | Method and Description |
---|---|
int |
StatelessSessionImpl.executeNativeUpdate(NativeSQLQuerySpecification nativeSQLQuerySpecification,
QueryParameters queryParameters) |
int |
SessionImpl.executeNativeUpdate(NativeSQLQuerySpecification nativeQuerySpecification,
QueryParameters queryParameters) |
int |
StatelessSessionImpl.executeUpdate(String query,
QueryParameters queryParameters) |
int |
SessionImpl.executeUpdate(String query,
QueryParameters queryParameters) |
Iterator |
StatelessSessionImpl.iterate(String query,
QueryParameters queryParameters) |
Iterator |
SessionImpl.iterate(String query,
QueryParameters queryParameters) |
Iterator |
StatelessSessionImpl.iterateFilter(Object collection,
String filter,
QueryParameters queryParameters) |
Iterator |
SessionImpl.iterateFilter(Object collection,
String filter,
QueryParameters queryParameters) |
List |
AbstractSharedSessionContract.list(NativeSQLQuerySpecification spec,
QueryParameters queryParameters) |
List |
StatelessSessionImpl.list(String query,
QueryParameters queryParameters) |
List |
SessionImpl.list(String query,
QueryParameters queryParameters) |
List |
StatelessSessionImpl.listCustomQuery(CustomQuery customQuery,
QueryParameters queryParameters) |
List |
SessionImpl.listCustomQuery(CustomQuery customQuery,
QueryParameters queryParameters) |
List |
StatelessSessionImpl.listFilter(Object collection,
String filter,
QueryParameters queryParameters) |
List |
SessionImpl.listFilter(Object collection,
String filter,
QueryParameters queryParameters) |
ScrollableResultsImplementor |
AbstractSharedSessionContract.scroll(NativeSQLQuerySpecification spec,
QueryParameters queryParameters) |
ScrollableResultsImplementor |
StatelessSessionImpl.scroll(String query,
QueryParameters queryParameters) |
ScrollableResultsImplementor |
SessionImpl.scroll(String query,
QueryParameters queryParameters) |
ScrollableResultsImplementor |
StatelessSessionImpl.scrollCustomQuery(CustomQuery customQuery,
QueryParameters queryParameters) |
ScrollableResultsImplementor |
SessionImpl.scrollCustomQuery(CustomQuery customQuery,
QueryParameters queryParameters) |
Constructor and Description |
---|
AbstractScrollableResults(ResultSet rs,
PreparedStatement ps,
SharedSessionContractImplementor sess,
Loader loader,
QueryParameters queryParameters,
Type[] types,
HolderInstantiator holderInstantiator) |
FetchingScrollableResultsImpl(ResultSet rs,
PreparedStatement ps,
SharedSessionContractImplementor sess,
Loader loader,
QueryParameters queryParameters,
Type[] types,
HolderInstantiator holderInstantiator)
Constructs a FetchingScrollableResultsImpl.
|
ScrollableResultsImpl(ResultSet rs,
PreparedStatement ps,
SharedSessionContractImplementor sess,
Loader loader,
QueryParameters queryParameters,
Type[] types,
HolderInstantiator holderInstantiator)
Constructs a ScrollableResultsImpl using the specified information.
|
Modifier and Type | Method and Description |
---|---|
protected String |
Loader.applyLocks(String sql,
QueryParameters parameters,
Dialect dialect,
List<AfterLoadAction> afterLoadActions)
Append FOR UPDATE OF clause, if necessary.
|
protected int |
Loader.bindParameterValues(PreparedStatement statement,
QueryParameters queryParameters,
int startIndex,
SharedSessionContractImplementor session)
Bind all parameter values into the prepared statement in preparation
for execution.
|
protected int |
Loader.bindPositionalParameters(PreparedStatement statement,
QueryParameters queryParameters,
int startIndex,
SharedSessionContractImplementor session)
Bind positional parameter values to the JDBC prepared statement.
|
protected List |
Loader.doList(SharedSessionContractImplementor session,
QueryParameters queryParameters)
Actually execute a query, ignoring the query cache
|
List |
Loader.doQueryAndInitializeNonLazyCollections(SharedSessionContractImplementor session,
QueryParameters queryParameters,
boolean returnProxies)
Execute an SQL query and attempt to instantiate instances of the class mapped by the given
persister from each row of the ResultSet.
|
List |
Loader.doQueryAndInitializeNonLazyCollections(SharedSessionContractImplementor session,
QueryParameters queryParameters,
boolean returnProxies,
ResultTransformer forcedResultTransformer) |
protected Loader.SqlStatementWrapper |
Loader.executeQueryStatement(QueryParameters queryParameters,
boolean scroll,
List<AfterLoadAction> afterLoadActions,
SharedSessionContractImplementor session)
Process query string by applying filters, LIMIT clause, locks and comments if necessary.
|
protected Loader.SqlStatementWrapper |
Loader.executeQueryStatement(String sqlStatement,
QueryParameters queryParameters,
boolean scroll,
List<AfterLoadAction> afterLoadActions,
SharedSessionContractImplementor session) |
protected void |
Loader.extractKeysFromResultSet(Loadable[] persisters,
QueryParameters queryParameters,
ResultSet resultSet,
SharedSessionContractImplementor session,
EntityKey[] keys,
LockMode[] lockModes,
List hydratedObjects) |
protected List |
Loader.list(SharedSessionContractImplementor session,
QueryParameters queryParameters,
Set<Serializable> querySpaces,
Type[] resultTypes)
Return the query results, using the query cache, called
by subclasses that implement cacheable queries
|
Object |
Loader.loadSequentialRowsForward(ResultSet resultSet,
SharedSessionContractImplementor session,
QueryParameters queryParameters,
boolean returnProxies)
Loads a single logical row from the result set moving forward.
|
Object |
Loader.loadSequentialRowsReverse(ResultSet resultSet,
SharedSessionContractImplementor session,
QueryParameters queryParameters,
boolean returnProxies,
boolean isLogicallyAfterLast)
Loads a single logical row from the result set moving forward.
|
Object |
Loader.loadSingleRow(ResultSet resultSet,
SharedSessionContractImplementor session,
QueryParameters queryParameters,
boolean returnProxies)
Loads a single row from the result set.
|
protected PreparedStatement |
Loader.prepareQueryStatement(String sql,
QueryParameters queryParameters,
LimitHandler limitHandler,
boolean scroll,
SharedSessionContractImplementor session)
Obtain a PreparedStatement with all parameters pre-bound.
|
protected String |
Loader.preprocessSQL(String sql,
QueryParameters parameters,
SessionFactoryImplementor sessionFactory,
List<AfterLoadAction> afterLoadActions)
Modify the SQL, adding lock hints and comments, if necessary
|
protected String |
Loader.processDistinctKeyword(String sql,
QueryParameters parameters)
Remove distinct keyword from SQL statement if the query should not pass it through.
|
protected List |
Loader.processResultSet(ResultSet rs,
QueryParameters queryParameters,
SharedSessionContractImplementor session,
boolean returnProxies,
ResultTransformer forcedResultTransformer,
int maxRows,
List<AfterLoadAction> afterLoadActions) |
protected void |
Loader.putResultInQueryCache(SharedSessionContractImplementor session,
QueryParameters queryParameters,
Type[] resultTypes,
QueryResultsCache queryCache,
QueryKey key,
List result) |
protected ScrollableResultsImplementor |
Loader.scroll(QueryParameters queryParameters,
Type[] returnTypes,
HolderInstantiator holderInstantiator,
SharedSessionContractImplementor session)
Return the query results, as an instance of ScrollableResults
|
protected boolean |
Loader.shouldUseFollowOnLocking(QueryParameters parameters,
Dialect dialect,
List<AfterLoadAction> afterLoadActions) |
Constructor and Description |
---|
SubselectCollectionLoader(QueryableCollection persister,
String subquery,
Collection entityKeys,
QueryParameters queryParameters,
Map<String,int[]> namedParameterLocMap,
SessionFactoryImplementor factory,
LoadQueryInfluencers loadQueryInfluencers) |
SubselectOneToManyLoader(QueryableCollection persister,
String subquery,
Collection entityKeys,
QueryParameters queryParameters,
Map<String,int[]> namedParameterLocMap,
SessionFactoryImplementor factory,
LoadQueryInfluencers loadQueryInfluencers) |
Modifier and Type | Method and Description |
---|---|
QueryParameters |
CriteriaQueryTranslator.getQueryParameters() |
Modifier and Type | Method and Description |
---|---|
protected String |
CriteriaLoader.applyLocks(String sql,
QueryParameters parameters,
Dialect dialect,
List<AfterLoadAction> afterLoadActions) |
Modifier and Type | Method and Description |
---|---|
int |
PositionalParamBinder.bind(PreparedStatement statement,
QueryParameters qp,
SharedSessionContractImplementor session,
int position) |
int |
NamedParamBinder.bind(PreparedStatement statement,
QueryParameters qp,
SharedSessionContractImplementor session,
int position) |
Modifier and Type | Method and Description |
---|---|
static QueryParameters |
DynamicBatchingEntityLoaderBuilder.buildMultiLoadQueryParameters(OuterJoinLoadable persister,
Serializable[] ids,
LockOptions lockOptions) |
protected QueryParameters |
BatchingEntityLoader.buildQueryParameters(Serializable id,
Serializable[] ids,
Object optionalObject,
LockOptions lockOptions) |
Modifier and Type | Method and Description |
---|---|
protected QueryParameters |
BatchingEntityLoader.buildQueryParameters(Serializable id,
Serializable[] ids,
Object optionalObject,
LockOptions lockOptions) |
Modifier and Type | Method and Description |
---|---|
protected String |
QueryLoader.applyLocks(String sql,
QueryParameters parameters,
Dialect dialect,
List<AfterLoadAction> afterLoadActions) |
protected int |
QueryLoader.bindParameterValues(PreparedStatement statement,
QueryParameters queryParameters,
int startIndex,
SharedSessionContractImplementor session)
We specifically override this method here, because in general we know much more
about the parameters and their appropriate bind positions here then we do in
our super because we track them explicitly here through the ParameterSpecification
interface.
|
Iterator |
QueryLoader.iterate(QueryParameters queryParameters,
EventSource session) |
List |
QueryLoader.list(SharedSessionContractImplementor session,
QueryParameters queryParameters) |
ScrollableResultsImplementor |
QueryLoader.scroll(QueryParameters queryParameters,
SharedSessionContractImplementor session) |
Modifier and Type | Method and Description |
---|---|
protected int |
AbstractLoadPlanBasedLoader.bindParameterValues(PreparedStatement statement,
QueryParameters queryParameters,
int startIndex,
SharedSessionContractImplementor session)
Bind all parameter values into the prepared statement in preparation
for execution.
|
protected int |
AbstractLoadPlanBasedLoader.bindPositionalParameters(PreparedStatement statement,
QueryParameters queryParameters,
int startIndex,
SharedSessionContractImplementor session)
Bind positional parameter values to the JDBC prepared statement.
|
protected List |
AbstractLoadPlanBasedLoader.executeLoad(SharedSessionContractImplementor session,
QueryParameters queryParameters,
LoadQueryDetails loadQueryDetails,
boolean returnProxies,
ResultTransformer forcedResultTransformer) |
protected List |
AbstractLoadPlanBasedLoader.executeLoad(SharedSessionContractImplementor session,
QueryParameters queryParameters,
LoadQueryDetails loadQueryDetails,
boolean returnProxies,
ResultTransformer forcedResultTransformer,
List<AfterLoadAction> afterLoadActions) |
protected AbstractLoadPlanBasedLoader.SqlStatementWrapper |
AbstractLoadPlanBasedLoader.executeQueryStatement(QueryParameters queryParameters,
boolean scroll,
List<AfterLoadAction> afterLoadActions,
SharedSessionContractImplementor session) |
protected AbstractLoadPlanBasedLoader.SqlStatementWrapper |
AbstractLoadPlanBasedLoader.executeQueryStatement(String sqlStatement,
QueryParameters queryParameters,
boolean scroll,
List<AfterLoadAction> afterLoadActions,
SharedSessionContractImplementor session) |
protected ScrollMode |
AbstractLoadPlanBasedLoader.getScrollMode(boolean scroll,
boolean hasFirstRow,
boolean useLimitOffSet,
QueryParameters queryParameters) |
protected PreparedStatement |
AbstractLoadPlanBasedLoader.prepareQueryStatement(String sql,
QueryParameters queryParameters,
LimitHandler limitHandler,
boolean scroll,
SharedSessionContractImplementor session)
Obtain a PreparedStatement with all parameters pre-bound.
|
Modifier and Type | Method and Description |
---|---|
QueryParameters |
ResultSetProcessingContextImpl.getQueryParameters() |
Modifier and Type | Method and Description |
---|---|
static Map<String,int[]> |
ResultSetProcessorHelper.buildNamedParameterLocMap(QueryParameters queryParameters,
NamedParameterContext namedParameterContext) |
List |
ResultSetProcessorImpl.extractResults(ResultSet resultSet,
SharedSessionContractImplementor session,
QueryParameters queryParameters,
NamedParameterContext namedParameterContext,
boolean returnProxies,
boolean readOnly,
ResultTransformer forcedResultTransformer,
List<AfterLoadAction> afterLoadActionList) |
static EntityKey |
ResultSetProcessorHelper.getOptionalObjectKey(QueryParameters queryParameters,
SharedSessionContractImplementor session) |
Constructor and Description |
---|
ResultSetProcessingContextImpl(ResultSet resultSet,
SharedSessionContractImplementor session,
LoadPlan loadPlan,
AliasResolutionContext aliasResolutionContext,
boolean readOnly,
boolean shouldUseOptionalEntityInformation,
boolean forceFetchLazyAttributes,
boolean shouldReturnProxies,
QueryParameters queryParameters,
NamedParameterContext namedParameterContext,
boolean hadSubselectFetches)
Builds a ResultSetProcessingContextImpl
|
Modifier and Type | Method and Description |
---|---|
QueryParameters |
ResultSetProcessingContext.getQueryParameters() |
Modifier and Type | Method and Description |
---|---|
Object |
ScrollableResultSetProcessor.extractLogicalRowForward(ResultSet resultSet,
SessionImplementor session,
QueryParameters queryParameters)
Given a scrollable ResultSet, extract a logical row.
|
Object |
ScrollableResultSetProcessor.extractLogicalRowReverse(ResultSet resultSet,
SessionImplementor session,
QueryParameters queryParameters,
boolean isLogicallyAfterLast)
Like
ScrollableResultSetProcessor.extractLogicalRowForward(java.sql.ResultSet, org.hibernate.engine.spi.SessionImplementor, org.hibernate.engine.spi.QueryParameters) but here moving through the ResultSet in reverse. |
List |
ResultSetProcessor.extractResults(ResultSet resultSet,
SharedSessionContractImplementor session,
QueryParameters queryParameters,
NamedParameterContext namedParameterContext,
boolean returnProxies,
boolean readOnly,
ResultTransformer forcedResultTransformer,
List<AfterLoadAction> afterLoadActions)
Process an entire ResultSet, performing all extractions.
|
Object |
ScrollableResultSetProcessor.extractSingleRow(ResultSet resultSet,
SessionImplementor session,
QueryParameters queryParameters)
Give a ResultSet, extract just a single result row.
|
Modifier and Type | Method and Description |
---|---|
int |
VersionTypeSeedParameterSpecification.bind(PreparedStatement statement,
QueryParameters qp,
SharedSessionContractImplementor session,
int position) |
int |
PositionalParameterSpecification.bind(PreparedStatement statement,
QueryParameters qp,
SharedSessionContractImplementor session,
int position)
Bind the appropriate value into the given statement at the specified position.
|
int |
ParameterBinder.bind(PreparedStatement statement,
QueryParameters qp,
SharedSessionContractImplementor session,
int position)
Bind the appropriate value into the given statement at the specified position.
|
int |
NamedParameterSpecification.bind(PreparedStatement statement,
QueryParameters qp,
SharedSessionContractImplementor session,
int position)
Bind the appropriate value into the given statement at the specified position.
|
int |
DynamicFilterParameterSpecification.bind(PreparedStatement statement,
QueryParameters qp,
SharedSessionContractImplementor session,
int start) |
int |
CollectionFilterKeyParameterSpecification.bind(PreparedStatement statement,
QueryParameters qp,
SharedSessionContractImplementor session,
int position) |
Modifier and Type | Method and Description |
---|---|
QueryParameters |
ProcedureCallImpl.getQueryParameters() |
Modifier and Type | Method and Description |
---|---|
QueryParameters |
NativeQueryImpl.getQueryParameters() |
QueryParameters |
AbstractProducedQuery.getQueryParameters() |
protected QueryParameters |
AbstractProducedQuery.makeQueryParametersForExecution(String hql) |
Modifier and Type | Method and Description |
---|---|
QueryParameters |
ResultContext.getQueryParameters() |
Copyright © 2019 JBoss by Red Hat. All rights reserved.