类的使用
org.hibernate.engine.spi.QueryParameters
-
使用QueryParameters的程序包 程序包 说明 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 queriesorg.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 initializersorg.hibernate.loader.criteria This package defines the criteria query compiler and loaderorg.hibernate.loader.custom This package defines a framework for custom loaders that accept handwritten SQLorg.hibernate.loader.custom.sql org.hibernate.loader.entity This package defines entity loadersorg.hibernate.loader.entity.plan org.hibernate.loader.hql This package defines a loader for the AST-based query parserorg.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 -
-
org.hibernate.cache.spi中QueryParameters的使用
参数类型为QueryParameters的org.hibernate.cache.spi中的方法 修饰符和类型 方法 说明 static QueryKeyQueryKey. generateQueryKey(String queryString, QueryParameters queryParameters, Set filterKeys, SharedSessionContractImplementor session, CacheableResultTransformer customTransformer)Generates a QueryKey. -
org.hibernate.dialect中QueryParameters的使用
参数类型为QueryParameters的org.hibernate.dialect中的方法 修饰符和类型 方法 说明 StringDialect. addSqlHintOrComment(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) -
org.hibernate.engine.internal中QueryParameters的使用
参数类型为QueryParameters的org.hibernate.engine.internal中的方法 修饰符和类型 方法 说明 static intParameterBinder. bindQueryParameters(PreparedStatement st, QueryParameters queryParameters, int start, ParameterBinder.NamedParameterSource source, SessionImplementor session)Perform parameter binding -
org.hibernate.engine.query.spi中QueryParameters的使用
参数类型为QueryParameters的org.hibernate.engine.query.spi中的方法 修饰符和类型 方法 说明 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 queryIteratorHQLQueryPlan. performIterate(QueryParameters queryParameters, EventSource session)Coordinates the efforts to perform an iterate across all the included query translators.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. -
org.hibernate.engine.spi中QueryParameters的使用
返回QueryParameters的org.hibernate.engine.spi中的方法 修饰符和类型 方法 说明 QueryParametersQueryParameters. createCopyUsing(RowSelection selection)QueryParametersSubselectFetch. getQueryParameters()参数类型为QueryParameters的org.hibernate.engine.spi中的方法 修饰符和类型 方法 说明 static 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(String query, QueryParameters queryParameters)intSharedSessionContractImplementor. executeUpdate(String query, QueryParameters queryParameters)Execute a HQL update or delete queryIteratorSessionDelegatorBaseImpl. iterate(String query, QueryParameters queryParameters)IteratorSharedSessionContractImplementor. iterate(String query, QueryParameters queryParameters)Execute an iterate() queryIteratorSessionDelegatorBaseImpl. iterateFilter(Object collection, String filter, QueryParameters queryParameters)IteratorSharedSessionContractImplementor. iterateFilter(Object collection, String filter, QueryParameters queryParameters)Iterate a filterListSessionDelegatorBaseImpl. list(String query, QueryParameters queryParameters)ListSessionDelegatorBaseImpl. list(NativeSQLQuerySpecification spec, QueryParameters queryParameters)ListSharedSessionContractImplementor. list(String query, QueryParameters queryParameters)Execute a find() queryListSharedSessionContractImplementor. list(NativeSQLQuerySpecification spec, QueryParameters queryParameters)Execute a native SQL query, and return the results as a fully built list.ListSessionDelegatorBaseImpl. listCustomQuery(CustomQuery customQuery, QueryParameters queryParameters)ListSharedSessionContractImplementor. listCustomQuery(CustomQuery customQuery, QueryParameters queryParameters)Execute an SQL QueryListSessionDelegatorBaseImpl. listFilter(Object collection, String filter, QueryParameters queryParameters)ListSharedSessionContractImplementor. listFilter(Object collection, String filter, QueryParameters queryParameters)Execute a filterScrollableResultsImplementorSessionDelegatorBaseImpl. scroll(String query, QueryParameters queryParameters)ScrollableResultsImplementorSessionDelegatorBaseImpl. scroll(NativeSQLQuerySpecification spec, QueryParameters queryParameters)ScrollableResultsImplementorSharedSessionContractImplementor. scroll(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 Query参数类型为QueryParameters的org.hibernate.engine.spi中的构造器 构造器 说明 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.SubselectFetch(String alias, Loadable loadable, QueryParameters queryParameters, Set resultingEntityKeys, Map namedParameterLocMap)Construct a SubselectFetch instance. -
org.hibernate.hql.internal.ast中QueryParameters的使用
参数类型为QueryParameters的org.hibernate.hql.internal.ast中的方法 修饰符和类型 方法 说明 intQueryTranslatorImpl. executeUpdate(QueryParameters queryParameters, SharedSessionContractImplementor session)IteratorQueryTranslatorImpl. iterate(QueryParameters queryParameters, EventSource session)Return the query results as an iteratorListQueryTranslatorImpl. list(SharedSessionContractImplementor session, QueryParameters queryParameters)ScrollableResultsImplementorQueryTranslatorImpl. scroll(QueryParameters queryParameters, SharedSessionContractImplementor session)Return the query results, as an instance of ScrollableResults -
org.hibernate.hql.internal.ast.exec中QueryParameters的使用
参数类型为QueryParameters的org.hibernate.hql.internal.ast.exec中的方法 修饰符和类型 方法 说明 protected intBasicExecutor. doExecute(QueryParameters parameters, SharedSessionContractImplementor session, String sql, List parameterSpecifications)intBasicExecutor. execute(QueryParameters parameters, SharedSessionContractImplementor session)intDeleteExecutor. execute(QueryParameters parameters, SharedSessionContractImplementor session)intMultiTableDeleteExecutor. execute(QueryParameters parameters, SharedSessionContractImplementor session)intMultiTableUpdateExecutor. execute(QueryParameters parameters, SharedSessionContractImplementor session)intStatementExecutor. execute(QueryParameters parameters, SharedSessionContractImplementor session)Execute the sql managed by this executor using the given parameters. -
org.hibernate.hql.internal.classic中QueryParameters的使用
参数类型为QueryParameters的org.hibernate.hql.internal.classic中的方法 修饰符和类型 方法 说明 protected StringQueryTranslatorImpl. applyLocks(String sql, QueryParameters parameters, Dialect dialect, List<AfterLoadAction> afterLoadActions)intNamedParameterInformationImpl. bind(PreparedStatement statement, QueryParameters qp, SharedSessionContractImplementor session, int position)intPositionalParameterInformationImpl. bind(PreparedStatement statement, QueryParameters qp, SharedSessionContractImplementor session, int position)protected intQueryTranslatorImpl. bindParameterValues(PreparedStatement statement, QueryParameters queryParameters, int startIndex, SharedSessionContractImplementor session)intQueryTranslatorImpl. executeUpdate(QueryParameters queryParameters, SharedSessionContractImplementor session)IteratorQueryTranslatorImpl. iterate(QueryParameters queryParameters, EventSource session)Return the query results as an iteratorListQueryTranslatorImpl. list(SharedSessionContractImplementor session, QueryParameters queryParameters)ScrollableResultsImplementorQueryTranslatorImpl. scroll(QueryParameters queryParameters, SharedSessionContractImplementor session) -
org.hibernate.hql.spi中QueryParameters的使用
参数类型为QueryParameters的org.hibernate.hql.spi中的方法 修饰符和类型 方法 说明 intQueryTranslator. executeUpdate(QueryParameters queryParameters, SharedSessionContractImplementor session)Perform a bulk update/delete operation given the underlying query definition.IteratorQueryTranslator. iterate(QueryParameters queryParameters, EventSource session)Perform an iterate operation given the underlying query definition.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. -
org.hibernate.hql.spi.id中QueryParameters的使用
参数类型为QueryParameters的org.hibernate.hql.spi.id中的方法 修饰符和类型 方法 说明 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 List<Object[]>AbstractIdsBulkIdHandler. selectIds(SharedSessionContractImplementor session, QueryParameters queryParameters) -
org.hibernate.hql.spi.id.cte中QueryParameters的使用
参数类型为QueryParameters的org.hibernate.hql.spi.id.cte中的方法 修饰符和类型 方法 说明 intCteValuesListDeleteHandlerImpl. execute(SharedSessionContractImplementor session, QueryParameters queryParameters)intCteValuesListUpdateHandlerImpl. execute(SharedSessionContractImplementor session, QueryParameters queryParameters)protected CteValuesListBuilderAbstractCteValuesListBulkIdHandler. prepareCteStatement(SharedSessionContractImplementor session, QueryParameters queryParameters) -
org.hibernate.hql.spi.id.inline中QueryParameters的使用
参数类型为QueryParameters的org.hibernate.hql.spi.id.inline中的方法 修饰符和类型 方法 说明 intAbstractInlineIdsDeleteHandlerImpl. execute(SharedSessionContractImplementor session, QueryParameters queryParameters)intAbstractInlineIdsUpdateHandlerImpl. execute(SharedSessionContractImplementor session, QueryParameters queryParameters)protected IdsClauseBuilderAbstractInlineIdsBulkIdHandler. prepareInlineStatement(SharedSessionContractImplementor session, QueryParameters queryParameters) -
org.hibernate.internal中QueryParameters的使用
返回QueryParameters的org.hibernate.internal中的方法 修饰符和类型 方法 说明 protected QueryParametersAbstractScrollableResults. getQueryParameters()参数类型为QueryParameters的org.hibernate.internal中的方法 修饰符和类型 方法 说明 intSessionImpl. executeNativeUpdate(NativeSQLQuerySpecification nativeQuerySpecification, QueryParameters queryParameters)intStatelessSessionImpl. executeNativeUpdate(NativeSQLQuerySpecification nativeSQLQuerySpecification, QueryParameters queryParameters)intSessionImpl. executeUpdate(String query, QueryParameters queryParameters)intStatelessSessionImpl. executeUpdate(String query, QueryParameters queryParameters)IteratorSessionImpl. iterate(String query, QueryParameters queryParameters)IteratorStatelessSessionImpl. iterate(String query, QueryParameters queryParameters)IteratorSessionImpl. iterateFilter(Object collection, String filter, QueryParameters queryParameters)IteratorStatelessSessionImpl. iterateFilter(Object collection, String filter, QueryParameters queryParameters)ListAbstractSharedSessionContract. list(NativeSQLQuerySpecification spec, QueryParameters queryParameters)ListSessionImpl. list(String query, QueryParameters queryParameters)ListStatelessSessionImpl. list(String query, QueryParameters queryParameters)ListSessionImpl. listCustomQuery(CustomQuery customQuery, QueryParameters queryParameters)ListStatelessSessionImpl. listCustomQuery(CustomQuery customQuery, QueryParameters queryParameters)ListSessionImpl. listFilter(Object collection, String filter, QueryParameters queryParameters)ListStatelessSessionImpl. listFilter(Object collection, String filter, QueryParameters queryParameters)ScrollableResultsImplementorAbstractSharedSessionContract. scroll(NativeSQLQuerySpecification spec, QueryParameters queryParameters)ScrollableResultsImplementorSessionImpl. scroll(String query, QueryParameters queryParameters)ScrollableResultsImplementorStatelessSessionImpl. scroll(String query, QueryParameters queryParameters)ScrollableResultsImplementorSessionImpl. scrollCustomQuery(CustomQuery customQuery, QueryParameters queryParameters)ScrollableResultsImplementorStatelessSessionImpl. scrollCustomQuery(CustomQuery customQuery, QueryParameters queryParameters)参数类型为QueryParameters的org.hibernate.internal中的构造器 构造器 说明 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. -
org.hibernate.loader中QueryParameters的使用
参数类型为QueryParameters的org.hibernate.loader中的方法 修饰符和类型 方法 说明 protected StringLoader. applyLocks(String sql, QueryParameters parameters, Dialect dialect, List<AfterLoadAction> afterLoadActions)Append FOR UPDATE OF clause, if necessary.protected intLoader. bindParameterValues(PreparedStatement statement, QueryParameters queryParameters, int startIndex, SharedSessionContractImplementor session)Bind all parameter values into the prepared statement in preparation for execution.protected intLoader. bindPositionalParameters(PreparedStatement statement, QueryParameters queryParameters, int startIndex, SharedSessionContractImplementor session)Bind positional parameter values to the JDBC prepared statement.protected ListLoader. doList(SharedSessionContractImplementor session, QueryParameters queryParameters)Actually execute a query, ignoring the query cacheListLoader. 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.ListLoader. doQueryAndInitializeNonLazyCollections(SharedSessionContractImplementor session, QueryParameters queryParameters, boolean returnProxies, ResultTransformer forcedResultTransformer)protected Loader.SqlStatementWrapperLoader. executeQueryStatement(String sqlStatement, QueryParameters queryParameters, boolean scroll, List<AfterLoadAction> afterLoadActions, SharedSessionContractImplementor session)protected Loader.SqlStatementWrapperLoader. executeQueryStatement(QueryParameters queryParameters, boolean scroll, 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, ResultSet resultSet, SharedSessionContractImplementor session, EntityKey[] keys, LockMode[] lockModes, List hydratedObjects)protected ListLoader. list(SharedSessionContractImplementor session, QueryParameters queryParameters, Set<Serializable> querySpaces, Type[] resultTypes)Return the query results, using the query cache, called by subclasses that implement cacheable queriesObjectLoader. loadSequentialRowsForward(ResultSet resultSet, SharedSessionContractImplementor session, QueryParameters queryParameters, boolean returnProxies)Loads a single logical row from the result set moving forward.ObjectLoader. loadSequentialRowsReverse(ResultSet resultSet, SharedSessionContractImplementor session, QueryParameters queryParameters, boolean returnProxies, boolean isLogicallyAfterLast)Loads a single logical row from the result set moving forward.ObjectLoader. loadSingleRow(ResultSet resultSet, SharedSessionContractImplementor session, QueryParameters queryParameters, boolean returnProxies)Loads a single row from the result set.protected PreparedStatementLoader. prepareQueryStatement(String sql, QueryParameters queryParameters, LimitHandler limitHandler, boolean scroll, SharedSessionContractImplementor session)Obtain a PreparedStatement with all parameters pre-bound.protected StringLoader. preprocessSQL(String sql, QueryParameters parameters, SessionFactoryImplementor sessionFactory, List<AfterLoadAction> afterLoadActions)Modify the SQL, adding lock hints and comments, if necessaryprotected StringLoader. processDistinctKeyword(String sql, QueryParameters parameters)Remove distinct keyword from SQL statement if the query should not pass it through.protected ListLoader. processResultSet(ResultSet rs, QueryParameters queryParameters, SharedSessionContractImplementor session, boolean returnProxies, ResultTransformer forcedResultTransformer, int maxRows, List<AfterLoadAction> afterLoadActions)protected voidLoader. putResultInQueryCache(SharedSessionContractImplementor session, QueryParameters queryParameters, Type[] resultTypes, QueryResultsCache queryCache, QueryKey key, List result)protected ScrollableResultsImplementorLoader. scroll(QueryParameters queryParameters, Type[] returnTypes, HolderInstantiator holderInstantiator, SharedSessionContractImplementor session)Return the query results, as an instance of ScrollableResultsprotected booleanLoader. shouldUseFollowOnLocking(QueryParameters parameters, Dialect dialect, List<AfterLoadAction> afterLoadActions) -
org.hibernate.loader.collection中QueryParameters的使用
参数类型为QueryParameters的org.hibernate.loader.collection中的构造器 构造器 说明 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) -
org.hibernate.loader.criteria中QueryParameters的使用
返回QueryParameters的org.hibernate.loader.criteria中的方法 修饰符和类型 方法 说明 QueryParametersCriteriaQueryTranslator. getQueryParameters()参数类型为QueryParameters的org.hibernate.loader.criteria中的方法 修饰符和类型 方法 说明 protected StringCriteriaLoader. applyLocks(String sql, QueryParameters parameters, Dialect dialect, List<AfterLoadAction> afterLoadActions) -
org.hibernate.loader.custom中QueryParameters的使用
参数类型为QueryParameters的org.hibernate.loader.custom中的方法 修饰符和类型 方法 说明 protected StringCustomLoader. applyLocks(String sql, QueryParameters parameters, Dialect dialect, List<AfterLoadAction> afterLoadActions)protected intCustomLoader. bindParameterValues(PreparedStatement statement, QueryParameters queryParameters, int startIndex, SharedSessionContractImplementor session)ListCustomLoader. list(SharedSessionContractImplementor session, QueryParameters queryParameters)protected voidCustomLoader. putResultInQueryCache(SharedSessionContractImplementor session, QueryParameters queryParameters, Type[] resultTypes, QueryResultsCache queryCache, QueryKey key, List result)CustomLoader.resultTypescan be overridden byCustomLoader.autoDiscoverTypes(ResultSet), *after*CustomLoader.list(SharedSessionContractImplementor, QueryParameters)has already been called.ScrollableResultsImplementorCustomLoader. scroll(QueryParameters queryParameters, SharedSessionContractImplementor session) -
org.hibernate.loader.custom.sql中QueryParameters的使用
参数类型为QueryParameters的org.hibernate.loader.custom.sql中的方法 修饰符和类型 方法 说明 intNamedParamBinder. bind(PreparedStatement statement, QueryParameters qp, SharedSessionContractImplementor session, int position)intPositionalParamBinder. bind(PreparedStatement statement, QueryParameters qp, SharedSessionContractImplementor session, int position) -
org.hibernate.loader.entity中QueryParameters的使用
返回QueryParameters的org.hibernate.loader.entity中的方法 修饰符和类型 方法 说明 static QueryParametersDynamicBatchingEntityLoaderBuilder. buildMultiLoadQueryParameters(OuterJoinLoadable persister, Serializable[] ids, LockOptions lockOptions)protected QueryParametersBatchingEntityLoader. buildQueryParameters(Serializable id, Serializable[] ids, Object optionalObject, LockOptions lockOptions, Boolean readOnly) -
org.hibernate.loader.entity.plan中QueryParameters的使用
返回QueryParameters的org.hibernate.loader.entity.plan中的方法 修饰符和类型 方法 说明 protected QueryParametersBatchingEntityLoader. buildQueryParameters(Serializable id, Serializable[] ids, Object optionalObject, LockOptions lockOptions) -
org.hibernate.loader.hql中QueryParameters的使用
参数类型为QueryParameters的org.hibernate.loader.hql中的方法 修饰符和类型 方法 说明 protected StringQueryLoader. applyLocks(String sql, QueryParameters parameters, Dialect dialect, List<AfterLoadAction> afterLoadActions)protected intQueryLoader. 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.IteratorQueryLoader. iterate(QueryParameters queryParameters, EventSource session)ListQueryLoader. list(SharedSessionContractImplementor session, QueryParameters queryParameters)ScrollableResultsImplementorQueryLoader. scroll(QueryParameters queryParameters, SharedSessionContractImplementor session) -
org.hibernate.loader.plan.exec.internal中QueryParameters的使用
参数类型为QueryParameters的org.hibernate.loader.plan.exec.internal中的方法 修饰符和类型 方法 说明 protected intAbstractLoadPlanBasedLoader. bindParameterValues(PreparedStatement statement, QueryParameters queryParameters, int startIndex, SharedSessionContractImplementor session)Bind all parameter values into the prepared statement in preparation for execution.protected intAbstractLoadPlanBasedLoader. bindPositionalParameters(PreparedStatement statement, QueryParameters queryParameters, int startIndex, SharedSessionContractImplementor session)Bind positional parameter values to the JDBC prepared statement.protected ListAbstractLoadPlanBasedLoader. executeLoad(SharedSessionContractImplementor session, QueryParameters queryParameters, LoadQueryDetails loadQueryDetails, boolean returnProxies, ResultTransformer forcedResultTransformer)protected AbstractLoadPlanBasedLoader.SqlStatementWrapperAbstractLoadPlanBasedLoader. executeQueryStatement(String sqlStatement, QueryParameters queryParameters, boolean scroll, SharedSessionContractImplementor session)protected ScrollModeAbstractLoadPlanBasedLoader. getScrollMode(boolean scroll, boolean hasFirstRow, boolean useLimitOffSet, QueryParameters queryParameters)protected PreparedStatementAbstractLoadPlanBasedLoader. prepareQueryStatement(String sql, QueryParameters queryParameters, LimitHandler limitHandler, boolean scroll, SharedSessionContractImplementor session)Obtain a PreparedStatement with all parameters pre-bound. -
org.hibernate.loader.plan.exec.process.internal中QueryParameters的使用
返回QueryParameters的org.hibernate.loader.plan.exec.process.internal中的方法 修饰符和类型 方法 说明 QueryParametersResultSetProcessingContextImpl. getQueryParameters()参数类型为QueryParameters的org.hibernate.loader.plan.exec.process.internal中的方法 修饰符和类型 方法 说明 static Map<String,int[]>ResultSetProcessorHelper. buildNamedParameterLocMap(QueryParameters queryParameters, NamedParameterContext namedParameterContext)ListResultSetProcessorImpl. extractResults(ResultSet resultSet, SharedSessionContractImplementor session, QueryParameters queryParameters, NamedParameterContext namedParameterContext, boolean returnProxies, boolean readOnly, ResultTransformer forcedResultTransformer, List<AfterLoadAction> afterLoadActionList)static EntityKeyResultSetProcessorHelper. getOptionalObjectKey(QueryParameters queryParameters, SharedSessionContractImplementor session)参数类型为QueryParameters的org.hibernate.loader.plan.exec.process.internal中的构造器 构造器 说明 ResultSetProcessingContextImpl(ResultSet resultSet, SharedSessionContractImplementor session, LoadPlan loadPlan, AliasResolutionContext aliasResolutionContext, boolean readOnly, boolean shouldUseOptionalEntityInformation, boolean shouldReturnProxies, QueryParameters queryParameters, NamedParameterContext namedParameterContext, boolean hadSubselectFetches)Builds a ResultSetProcessingContextImpl -
org.hibernate.loader.plan.exec.process.spi中QueryParameters的使用
返回QueryParameters的org.hibernate.loader.plan.exec.process.spi中的方法 修饰符和类型 方法 说明 QueryParametersResultSetProcessingContext. getQueryParameters()参数类型为QueryParameters的org.hibernate.loader.plan.exec.process.spi中的方法 修饰符和类型 方法 说明 ObjectScrollableResultSetProcessor. extractLogicalRowForward(ResultSet resultSet, SessionImplementor session, QueryParameters queryParameters)Given a scrollable ResultSet, extract a logical row.ObjectScrollableResultSetProcessor. extractLogicalRowReverse(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.ListResultSetProcessor. 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.ObjectScrollableResultSetProcessor. extractSingleRow(ResultSet resultSet, SessionImplementor session, QueryParameters queryParameters)Give a ResultSet, extract just a single result row. -
org.hibernate.param中QueryParameters的使用
参数类型为QueryParameters的org.hibernate.param中的方法 修饰符和类型 方法 说明 intCollectionFilterKeyParameterSpecification. bind(PreparedStatement statement, QueryParameters qp, SharedSessionContractImplementor session, int position)intDynamicFilterParameterSpecification. bind(PreparedStatement statement, QueryParameters qp, SharedSessionContractImplementor session, int start)intNamedParameterSpecification. bind(PreparedStatement statement, QueryParameters qp, SharedSessionContractImplementor session, int position)Bind the appropriate value into the given statement at the specified position.intParameterBinder. bind(PreparedStatement statement, QueryParameters qp, SharedSessionContractImplementor session, int position)Bind the appropriate value into the given statement at the specified position.intPositionalParameterSpecification. bind(PreparedStatement statement, QueryParameters qp, SharedSessionContractImplementor session, int position)Bind the appropriate value into the given statement at the specified position.intVersionTypeSeedParameterSpecification. bind(PreparedStatement statement, QueryParameters qp, SharedSessionContractImplementor session, int position) -
org.hibernate.procedure.internal中QueryParameters的使用
返回QueryParameters的org.hibernate.procedure.internal中的方法 修饰符和类型 方法 说明 QueryParametersProcedureCallImpl. getQueryParameters() -
org.hibernate.query.internal中QueryParameters的使用
返回QueryParameters的org.hibernate.query.internal中的方法 修饰符和类型 方法 说明 QueryParametersAbstractProducedQuery. getQueryParameters()QueryParametersNativeQueryImpl. getQueryParameters()protected QueryParametersAbstractProducedQuery. makeQueryParametersForExecution(String hql) -
org.hibernate.result.spi中QueryParameters的使用
返回QueryParameters的org.hibernate.result.spi中的方法 修饰符和类型 方法 说明 QueryParametersResultContext. getQueryParameters()
-