Uses of Class
org.hibernate.engine.spi.QueryParameters
-
-
Uses of QueryParameters in org.hibernate.cache.spi
Methods in org.hibernate.cache.spi with parameters of type QueryParameters Modifier and Type Method Description static QueryKeyQueryKey. generateQueryKey(java.lang.String queryString, QueryParameters queryParameters, java.util.Set filterKeys, SharedSessionContractImplementor session, CacheableResultTransformer customTransformer)Generates a QueryKey. -
Uses of QueryParameters in org.hibernate.dialect
Methods in org.hibernate.dialect with parameters of type QueryParameters Modifier and Type Method Description java.lang.StringDialect. addSqlHintOrComment(java.lang.String sql, QueryParameters parameters, boolean commentsEnabled)Modify the SQL, adding hints or comments, if necessarybooleanDialect. useFollowOnLocking(QueryParameters parameters)Some dialects have trouble applying pessimistic locking depending upon what other query options are specified (paging, ordering, etc).booleanOracle8iDialect. useFollowOnLocking(QueryParameters parameters)For Oracle, the FOR UPDATE clause cannot be applied when using ORDER BY, DISTINCT or views.booleanTeradata14Dialect. useFollowOnLocking(QueryParameters parameters) -
Uses of QueryParameters in org.hibernate.dialect.pagination
Methods in org.hibernate.dialect.pagination with parameters of type QueryParameters Modifier and Type Method Description default java.lang.StringLimitHandler. processSql(java.lang.String sql, QueryParameters queryParameters)Return processed SQL query.java.lang.StringOracle12LimitHandler. processSql(java.lang.String sql, QueryParameters queryParameters) -
Uses of QueryParameters in org.hibernate.engine.query.spi
Methods in org.hibernate.engine.query.spi with parameters of type QueryParameters Modifier and Type Method Description intHQLQueryPlan. performExecuteUpdate(QueryParameters queryParameters, SharedSessionContractImplementor session)Coordinates the efforts to perform an execution across all the included query translators.intNativeSQLQueryPlan. performExecuteUpdate(QueryParameters queryParameters, SharedSessionContractImplementor session)Performs the execute queryjava.util.IteratorHQLQueryPlan. performIterate(QueryParameters queryParameters, EventSource session)Coordinates the efforts to perform an iterate across all the included query translators.java.util.ListHQLQueryPlan. performList(QueryParameters queryParameters, SharedSessionContractImplementor session)Coordinates the efforts to perform a list across all the included query translators.ScrollableResultsImplementorHQLQueryPlan. performScroll(QueryParameters queryParameters, SharedSessionContractImplementor session)Coordinates the efforts to perform a scroll across all the included query translators. -
Uses of QueryParameters in org.hibernate.engine.spi
Methods in org.hibernate.engine.spi that return QueryParameters Modifier and Type Method Description QueryParametersQueryParameters. createCopyUsing(RowSelection selection)QueryParametersSubselectFetch. getQueryParameters()Methods in org.hibernate.engine.spi with parameters of type QueryParameters Modifier and Type Method Description static java.lang.StringSubselectFetch. createSubselectFetchQueryFragment(QueryParameters queryParameters)Create the subselect fetch query fragment for the providedQueryParameterswith SELECT and ORDER BY clauses removed.intSessionDelegatorBaseImpl. executeNativeUpdate(NativeSQLQuerySpecification specification, QueryParameters queryParameters)intSharedSessionContractImplementor. executeNativeUpdate(NativeSQLQuerySpecification specification, QueryParameters queryParameters)Execute a native SQL update or delete queryintSessionDelegatorBaseImpl. executeUpdate(java.lang.String query, QueryParameters queryParameters)intSharedSessionContractImplementor. executeUpdate(java.lang.String query, QueryParameters queryParameters)Execute a HQL update or delete queryjava.util.IteratorSessionDelegatorBaseImpl. iterate(java.lang.String query, QueryParameters queryParameters)java.util.IteratorSharedSessionContractImplementor. iterate(java.lang.String query, QueryParameters queryParameters)Execute an iterate() queryjava.util.IteratorSessionDelegatorBaseImpl. iterateFilter(java.lang.Object collection, java.lang.String filter, QueryParameters queryParameters)java.util.IteratorSharedSessionContractImplementor. iterateFilter(java.lang.Object collection, java.lang.String filter, QueryParameters queryParameters)Iterate a filterjava.util.ListSessionDelegatorBaseImpl. list(java.lang.String query, QueryParameters queryParameters)java.util.ListSessionDelegatorBaseImpl. list(NativeSQLQuerySpecification spec, QueryParameters queryParameters)java.util.ListSharedSessionContractImplementor. list(java.lang.String query, QueryParameters queryParameters)Execute a find() queryjava.util.ListSharedSessionContractImplementor. list(NativeSQLQuerySpecification spec, QueryParameters queryParameters)Execute a native SQL query, and return the results as a fully built list.java.util.ListSessionDelegatorBaseImpl. listCustomQuery(CustomQuery customQuery, QueryParameters queryParameters)java.util.ListSharedSessionContractImplementor. listCustomQuery(CustomQuery customQuery, QueryParameters queryParameters)Execute an SQL Queryjava.util.ListSessionDelegatorBaseImpl. listFilter(java.lang.Object collection, java.lang.String filter, QueryParameters queryParameters)java.util.ListSharedSessionContractImplementor. listFilter(java.lang.Object collection, java.lang.String filter, QueryParameters queryParameters)Execute a filterScrollableResultsImplementorSessionDelegatorBaseImpl. scroll(java.lang.String query, QueryParameters queryParameters)ScrollableResultsImplementorSessionDelegatorBaseImpl. scroll(NativeSQLQuerySpecification spec, QueryParameters queryParameters)ScrollableResultsImplementorSharedSessionContractImplementor. scroll(java.lang.String query, QueryParameters queryParameters)Execute a scroll() queryScrollableResultsImplementorSharedSessionContractImplementor. scroll(NativeSQLQuerySpecification spec, QueryParameters queryParameters)Execute a native SQL query, and return the results as a scrollable result.ScrollableResultsImplementorSessionDelegatorBaseImpl. scrollCustomQuery(CustomQuery customQuery, QueryParameters queryParameters)ScrollableResultsImplementorSharedSessionContractImplementor. scrollCustomQuery(CustomQuery customQuery, QueryParameters queryParameters)Execute an SQL QueryConstructors in org.hibernate.engine.spi with parameters of type QueryParameters Constructor Description SubselectFetch(java.lang.String subselectFetchQueryFragment, java.lang.String alias, Loadable loadable, QueryParameters queryParameters, java.util.Set resultingEntityKeys, java.util.Map namedParameterLocMap)Construct a SubselectFetch instance using the provided subselect fetch query fragment,subselectFetchQueryFragment.SubselectFetch(java.lang.String alias, Loadable loadable, QueryParameters queryParameters, java.util.Set resultingEntityKeys, java.util.Map namedParameterLocMap)Construct a SubselectFetch instance. -
Uses of QueryParameters in org.hibernate.hql.spi
Methods in org.hibernate.hql.spi with parameters of type QueryParameters Modifier and Type Method Description intQueryTranslator. executeUpdate(QueryParameters queryParameters, SharedSessionContractImplementor session)Perform a bulk update/delete operation given the underlying query definition.java.util.IteratorQueryTranslator. iterate(QueryParameters queryParameters, EventSource session)Perform an iterate operation given the underlying query definition.java.util.ListQueryTranslator. list(SharedSessionContractImplementor session, QueryParameters queryParameters)Perform a list operation given the underlying query definition.ScrollableResultsImplementorQueryTranslator. scroll(QueryParameters queryParameters, SharedSessionContractImplementor session)Perform a scroll operation given the underlying query definition. -
Uses of QueryParameters in org.hibernate.hql.spi.id
Methods in org.hibernate.hql.spi.id with parameters of type QueryParameters Modifier and Type Method Description intMultiTableBulkIdStrategy.DeleteHandler. execute(SharedSessionContractImplementor session, QueryParameters queryParameters)intMultiTableBulkIdStrategy.UpdateHandler. execute(SharedSessionContractImplementor session, QueryParameters queryParameters)intTableBasedDeleteHandlerImpl. execute(SharedSessionContractImplementor session, QueryParameters queryParameters)intTableBasedUpdateHandlerImpl. execute(SharedSessionContractImplementor session, QueryParameters queryParameters)protected java.util.List<java.lang.Object[]>AbstractIdsBulkIdHandler. selectIds(SharedSessionContractImplementor session, QueryParameters queryParameters) -
Uses of QueryParameters in org.hibernate.hql.spi.id.cte
Methods in org.hibernate.hql.spi.id.cte with parameters of type QueryParameters Modifier and Type Method Description intCteValuesListDeleteHandlerImpl. execute(SharedSessionContractImplementor session, QueryParameters queryParameters)intCteValuesListUpdateHandlerImpl. execute(SharedSessionContractImplementor session, QueryParameters queryParameters)protected CteValuesListBuilderAbstractCteValuesListBulkIdHandler. prepareCteStatement(SharedSessionContractImplementor session, QueryParameters queryParameters) -
Uses of QueryParameters in org.hibernate.hql.spi.id.inline
Methods in org.hibernate.hql.spi.id.inline with parameters of type QueryParameters Modifier and Type Method Description intAbstractInlineIdsDeleteHandlerImpl. execute(SharedSessionContractImplementor session, QueryParameters queryParameters)intAbstractInlineIdsUpdateHandlerImpl. execute(SharedSessionContractImplementor session, QueryParameters queryParameters)protected IdsClauseBuilderAbstractInlineIdsBulkIdHandler. prepareInlineStatement(SharedSessionContractImplementor session, QueryParameters queryParameters) -
Uses of QueryParameters in org.hibernate.loader
Methods in org.hibernate.loader with parameters of type QueryParameters Modifier and Type Method Description protected java.lang.StringLoader. applyLocks(java.lang.String sql, QueryParameters parameters, Dialect dialect, java.util.List<AfterLoadAction> afterLoadActions)Append FOR UPDATE OF clause, if necessary.protected intLoader. bindParameterValues(java.sql.PreparedStatement statement, QueryParameters queryParameters, int startIndex, SharedSessionContractImplementor session)Bind all parameter values into the prepared statement in preparation for execution.protected intLoader. bindPositionalParameters(java.sql.PreparedStatement statement, QueryParameters queryParameters, int startIndex, SharedSessionContractImplementor session)Bind positional parameter values to the JDBC prepared statement.protected java.sql.PreparedStatementLoader. bindPreparedStatement(java.sql.PreparedStatement st, QueryParameters queryParameters, LimitHandler limitHandler, SharedSessionContractImplementor session)protected CacheableResultTransformerLoader. createCacheableResultTransformer(QueryParameters queryParameters)protected voidLoader. createSubselects(java.util.List keys, QueryParameters queryParameters, SharedSessionContractImplementor session)protected java.util.ListLoader. doList(SharedSessionContractImplementor session, QueryParameters queryParameters)Actually execute a query, ignoring the query cachejava.util.ListLoader. 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.java.util.ListLoader. doQueryAndInitializeNonLazyCollections(SharedSessionContractImplementor session, QueryParameters queryParameters, boolean returnProxies, ResultTransformer forcedResultTransformer)protected Loader.SqlStatementWrapperLoader. executeQueryStatement(java.lang.String sqlStatement, QueryParameters queryParameters, boolean scroll, java.util.List<AfterLoadAction> afterLoadActions, SharedSessionContractImplementor session)protected Loader.SqlStatementWrapperLoader. executeQueryStatement(QueryParameters queryParameters, boolean scroll, java.util.List<AfterLoadAction> afterLoadActions, SharedSessionContractImplementor session)Process query string by applying filters, LIMIT clause, locks and comments if necessary.protected voidLoader. extractKeysFromResultSet(Loadable[] persisters, QueryParameters queryParameters, java.sql.ResultSet resultSet, SharedSessionContractImplementor session, EntityKey[] keys, LockMode[] lockModes, java.util.List hydratedObjects)protected QueryKeyLoader. generateQueryKey(SharedSessionContractImplementor session, QueryParameters queryParameters)protected static EntityKeyLoader. getOptionalObjectKey(QueryParameters queryParameters, SharedSessionContractImplementor session)protected java.util.ListLoader. getResultFromQueryCache(SharedSessionContractImplementor session, QueryParameters queryParameters, java.util.Set<java.io.Serializable> querySpaces, Type[] resultTypes, QueryResultsCache queryCache, QueryKey key)protected java.util.List<java.lang.Object>Loader. getRowsFromResultSet(java.sql.ResultSet rs, QueryParameters queryParameters, SharedSessionContractImplementor session, boolean returnProxies, ResultTransformer forcedResultTransformer, int maxRows, java.util.List<java.lang.Object> hydratedObjects, java.util.List<EntityKey[]> subselectResultKeys)protected java.util.ListLoader. list(SharedSessionContractImplementor session, QueryParameters queryParameters, java.util.Set<java.io.Serializable> querySpaces, Type[] resultTypes)Return the query results, using the query cache, called by subclasses that implement cacheable queriesjava.lang.ObjectLoader. loadSequentialRowsForward(java.sql.ResultSet resultSet, SharedSessionContractImplementor session, QueryParameters queryParameters, boolean returnProxies)Loads a single logical row from the result set moving forward.java.lang.ObjectLoader. loadSequentialRowsReverse(java.sql.ResultSet resultSet, SharedSessionContractImplementor session, QueryParameters queryParameters, boolean returnProxies, boolean isLogicallyAfterLast)Loads a single logical row from the result set moving forward.java.lang.ObjectLoader. loadSingleRow(java.sql.ResultSet resultSet, SharedSessionContractImplementor session, QueryParameters queryParameters, boolean returnProxies)Loads a single row from the result set.protected java.sql.PreparedStatementLoader. prepareQueryStatement(java.lang.String sql, QueryParameters queryParameters, LimitHandler limitHandler, boolean scroll, SharedSessionContractImplementor session)Obtain a PreparedStatement with all parameters pre-bound.protected java.lang.StringLoader. preprocessSQL(java.lang.String sql, QueryParameters parameters, SessionFactoryImplementor sessionFactory, java.util.List<AfterLoadAction> afterLoadActions)Modify the SQL, adding lock hints and comments, if necessaryprotected java.lang.StringLoader. processDistinctKeyword(java.lang.String sql, QueryParameters parameters)Remove distinct keyword from SQL statement if the query should not pass it through.protected java.util.ListLoader. processResultSet(java.sql.ResultSet rs, QueryParameters queryParameters, SharedSessionContractImplementor session, boolean returnProxies, ResultTransformer forcedResultTransformer, int maxRows, java.util.List<AfterLoadAction> afterLoadActions)protected voidLoader. putResultInQueryCache(SharedSessionContractImplementor session, QueryParameters queryParameters, Type[] resultTypes, QueryResultsCache queryCache, QueryKey key, java.util.List result)protected ScrollableResultsImplementorLoader. scroll(QueryParameters queryParameters, Type[] returnTypes, org.hibernate.hql.internal.HolderInstantiator holderInstantiator, SharedSessionContractImplementor session)Return the query results, as an instance of ScrollableResultsprotected booleanLoader. shouldUseFollowOnLocking(QueryParameters parameters, Dialect dialect, java.util.List<AfterLoadAction> afterLoadActions) -
Uses of QueryParameters in org.hibernate.loader.collection
Constructors in org.hibernate.loader.collection with parameters of type QueryParameters Constructor Description SubselectCollectionLoader(QueryableCollection persister, java.lang.String subquery, java.util.Collection entityKeys, QueryParameters queryParameters, java.util.Map<java.lang.String,int[]> namedParameterLocMap, SessionFactoryImplementor factory, LoadQueryInfluencers loadQueryInfluencers)SubselectOneToManyLoader(QueryableCollection persister, java.lang.String subquery, java.util.Collection entityKeys, QueryParameters queryParameters, java.util.Map<java.lang.String,int[]> namedParameterLocMap, SessionFactoryImplementor factory, LoadQueryInfluencers loadQueryInfluencers) -
Uses of QueryParameters in org.hibernate.loader.criteria
Methods in org.hibernate.loader.criteria that return QueryParameters Modifier and Type Method Description QueryParametersCriteriaQueryTranslator. getQueryParameters()Methods in org.hibernate.loader.criteria with parameters of type QueryParameters Modifier and Type Method Description protected java.lang.StringCriteriaLoader. applyLocks(java.lang.String sql, QueryParameters parameters, Dialect dialect, java.util.List<AfterLoadAction> afterLoadActions) -
Uses of QueryParameters in org.hibernate.loader.custom
Methods in org.hibernate.loader.custom with parameters of type QueryParameters Modifier and Type Method Description protected java.lang.StringCustomLoader. applyLocks(java.lang.String sql, QueryParameters parameters, Dialect dialect, java.util.List<AfterLoadAction> afterLoadActions)protected intCustomLoader. bindParameterValues(java.sql.PreparedStatement statement, QueryParameters queryParameters, int startIndex, SharedSessionContractImplementor session)java.util.ListCustomLoader. list(SharedSessionContractImplementor session, QueryParameters queryParameters)protected voidCustomLoader. putResultInQueryCache(SharedSessionContractImplementor session, QueryParameters queryParameters, Type[] resultTypes, QueryResultsCache queryCache, QueryKey key, java.util.List result)CustomLoader.resultTypescan be overridden byCustomLoader.autoDiscoverTypes(ResultSet), *after*CustomLoader.list(SharedSessionContractImplementor, QueryParameters)has already been called.ScrollableResultsImplementorCustomLoader. scroll(QueryParameters queryParameters, SharedSessionContractImplementor session) -
Uses of QueryParameters in org.hibernate.loader.custom.sql
Methods in org.hibernate.loader.custom.sql with parameters of type QueryParameters Modifier and Type Method Description intNamedParamBinder. bind(java.sql.PreparedStatement statement, QueryParameters qp, SharedSessionContractImplementor session, int position)intPositionalParamBinder. bind(java.sql.PreparedStatement statement, QueryParameters qp, SharedSessionContractImplementor session, int position) -
Uses of QueryParameters in org.hibernate.loader.entity.plan
Methods in org.hibernate.loader.entity.plan that return QueryParameters Modifier and Type Method Description static QueryParametersMultiEntityLoadingSupport. buildMultiLoadQueryParameters(OuterJoinLoadable persister, java.io.Serializable[] ids, LockOptions lockOptions)protected QueryParametersBatchingEntityLoader. buildQueryParameters(java.io.Serializable id, java.io.Serializable[] ids, java.lang.Object optionalObject, LockOptions lockOptions) -
Uses of QueryParameters in org.hibernate.loader.hql
Methods in org.hibernate.loader.hql with parameters of type QueryParameters Modifier and Type Method Description protected java.lang.StringQueryLoader. applyLocks(java.lang.String sql, QueryParameters parameters, Dialect dialect, java.util.List<AfterLoadAction> afterLoadActions)protected intQueryLoader. bindParameterValues(java.sql.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.protected voidQueryLoader. checkQuery(QueryParameters queryParameters)java.util.IteratorQueryLoader. iterate(QueryParameters queryParameters, EventSource session)java.util.ListQueryLoader. list(SharedSessionContractImplementor session, QueryParameters queryParameters)ScrollableResultsImplementorQueryLoader. scroll(QueryParameters queryParameters, SharedSessionContractImplementor session) -
Uses of QueryParameters in org.hibernate.loader.plan.exec.process.spi
Methods in org.hibernate.loader.plan.exec.process.spi that return QueryParameters Modifier and Type Method Description QueryParametersResultSetProcessingContext. getQueryParameters()Methods in org.hibernate.loader.plan.exec.process.spi with parameters of type QueryParameters Modifier and Type Method Description java.lang.ObjectScrollableResultSetProcessor. extractLogicalRowForward(java.sql.ResultSet resultSet, SessionImplementor session, QueryParameters queryParameters)Given a scrollable ResultSet, extract a logical row.java.lang.ObjectScrollableResultSetProcessor. extractLogicalRowReverse(java.sql.ResultSet resultSet, SessionImplementor session, QueryParameters queryParameters, boolean isLogicallyAfterLast)LikeScrollableResultSetProcessor.extractLogicalRowForward(java.sql.ResultSet, org.hibernate.engine.spi.SessionImplementor, org.hibernate.engine.spi.QueryParameters)but here moving through the ResultSet in reverse.java.util.ListResultSetProcessor. extractResults(java.sql.ResultSet resultSet, SharedSessionContractImplementor session, QueryParameters queryParameters, NamedParameterContext namedParameterContext, boolean returnProxies, boolean readOnly, ResultTransformer forcedResultTransformer, java.util.List<AfterLoadAction> afterLoadActions)Process an entire ResultSet, performing all extractions.java.lang.ObjectScrollableResultSetProcessor. extractSingleRow(java.sql.ResultSet resultSet, SessionImplementor session, QueryParameters queryParameters)Give a ResultSet, extract just a single result row. -
Uses of QueryParameters in org.hibernate.param
Methods in org.hibernate.param with parameters of type QueryParameters Modifier and Type Method Description intCollectionFilterKeyParameterSpecification. bind(java.sql.PreparedStatement statement, QueryParameters qp, SharedSessionContractImplementor session, int position)intDynamicFilterParameterSpecification. bind(java.sql.PreparedStatement statement, QueryParameters qp, SharedSessionContractImplementor session, int start)intNamedParameterSpecification. bind(java.sql.PreparedStatement statement, QueryParameters qp, SharedSessionContractImplementor session, int position)Bind the appropriate value into the given statement at the specified position.intParameterBinder. bind(java.sql.PreparedStatement statement, QueryParameters qp, SharedSessionContractImplementor session, int position)Bind the appropriate value into the given statement at the specified position.intPositionalParameterSpecification. bind(java.sql.PreparedStatement statement, QueryParameters qp, SharedSessionContractImplementor session, int position)Bind the appropriate value into the given statement at the specified position.intVersionTypeSeedParameterSpecification. bind(java.sql.PreparedStatement statement, QueryParameters qp, SharedSessionContractImplementor session, int position) -
Uses of QueryParameters in org.hibernate.result.spi
Methods in org.hibernate.result.spi that return QueryParameters Modifier and Type Method Description QueryParametersResultContext. getQueryParameters()
-