类的使用
org.hibernate.QueryException
-
使用QueryException的程序包 程序包 说明 org.hibernate This package defines the central Hibernate APIs.org.hibernate.dialect.function A framework for defining database-specific SQL functions that are available via the dialect.org.hibernate.engine.query.spi Defines support for query plans and stored metadata about queriesorg.hibernate.engine.spi org.hibernate.hql.internal org.hibernate.hql.internal.ast An ANTLR-based parser for Hibernate Query Language.org.hibernate.hql.internal.ast.tree org.hibernate.hql.internal.ast.util 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.loader This package defines functionality for processing JDBC result sets and returning complex graphs of persistent objects.org.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.hql This package defines a loader for the AST-based query parserorg.hibernate.loader.plan.build.internal.spaces Contains the internal implementations of query spaces in a metamodel-driven LoadPlan.org.hibernate.persister.collection This package abstracts the persistence mechanism for collections.org.hibernate.persister.entity This package abstracts persistence mechanisms for entities, and defines the Hibernate runtime metamodel.org.hibernate.sql This package defines helper classes for rendering SQL fragments and SQL statements. -
-
org.hibernate中QueryException的使用
org.hibernate中QueryException的子类 修饰符和类型 类 说明 classQueryParameterExceptionParameter invalid or not found in the query.返回QueryException的org.hibernate中的方法 修饰符和类型 方法 说明 protected QueryExceptionQueryException. generateQueryException(String queryString)Called fromwrapWithQueryString(String)when we really need to generate a new QueryException (or subclass).protected QueryExceptionQueryParameterException. generateQueryException(String queryString)QueryExceptionQueryException. wrapWithQueryString(String queryString)Wraps this exception with another, of same kind, with the specified queryString. -
org.hibernate.dialect.function中QueryException的使用
抛出QueryException的org.hibernate.dialect.function中的方法 修饰符和类型 方法 说明 protected intStandardAnsiSqlAggregationFunctions.AvgFunction. determineJdbcTypeCode(Type firstArgumentType, SessionFactoryImplementor factory)protected intStandardAnsiSqlAggregationFunctions.SumFunction. determineJdbcTypeCode(Type type, Mapping mapping)TypeAbstractAnsiTrimEmulationFunction. getReturnType(Type argumentType, Mapping mapping)TypeCastFunction. getReturnType(Type columnType, Mapping mapping)TypeCharIndexFunction. getReturnType(Type columnType, Mapping mapping)TypeConvertFunction. getReturnType(Type firstArgumentType, Mapping mapping)TypeDerbyConcatFunction. getReturnType(Type argumentType, Mapping mapping)The return type of the function.TypeNoArgSQLFunction. getReturnType(Type argumentType, Mapping mapping)TypeNvlFunction. getReturnType(Type argumentType, Mapping mapping)TypePositionSubstringFunction. getReturnType(Type firstArgumentType, Mapping mapping)TypeSQLFunction. getReturnType(Type firstArgumentType, Mapping mapping)The return type of the function.TypeSQLFunctionTemplate. getReturnType(Type argumentType, Mapping mapping)TypeTrimFunctionTemplate. getReturnType(Type firstArgument, Mapping mapping)TypeVarArgsSQLFunction. getReturnType(Type firstArgumentType, Mapping mapping)StringAbstractAnsiTrimEmulationFunction. render(Type argumentType, List args, SessionFactoryImplementor factory)StringCastFunction. render(Type columnType, List args, SessionFactoryImplementor factory)StringCharIndexFunction. render(Type columnType, List args, SessionFactoryImplementor factory)StringConvertFunction. render(Type firstArgumentType, List args, SessionFactoryImplementor factory)StringDerbyConcatFunction. render(Type argumentType, List args, SessionFactoryImplementor factory)Render the function call as SQL fragment.StringNoArgSQLFunction. render(Type argumentType, List args, SessionFactoryImplementor factory)StringNvlFunction. render(Type argumentType, List args, SessionFactoryImplementor factory)StringPositionSubstringFunction. render(Type firstArgumentType, List args, SessionFactoryImplementor factory)StringSQLFunction. render(Type firstArgumentType, List arguments, SessionFactoryImplementor factory)Render the function call as SQL fragment.StringStandardAnsiSqlAggregationFunctions.AvgFunction. render(Type firstArgumentType, List arguments, SessionFactoryImplementor factory)StringStaticPrecisionFspTimestampFunction. render(Type argumentType, List args, SessionFactoryImplementor factory)StringTrimFunctionTemplate. render(Type firstArgument, List args, SessionFactoryImplementor factory) -
org.hibernate.engine.query.spi中QueryException的使用
抛出QueryException的org.hibernate.engine.query.spi中的方法 修饰符和类型 方法 说明 FilterQueryPlanQueryPlanCache. getFilterQueryPlan(String filterString, String collectionRole, boolean shallow, Map<String,Filter> enabledFilters)Get the query plan for the given collection HQL filter fragment, creating it and caching it if not already cachedHQLQueryPlanQueryPlanCache. getHQLQueryPlan(String queryString, boolean shallow, Map<String,Filter> enabledFilters)Get the query plan for the given HQL query, creating it and caching it if not already cachedstatic voidParameterParser. parse(String sqlString, ParameterParser.Recognizer recognizer)Performs the actual parsing and tokenizing of the query string making appropriate callbacks to the given recognizer upon recognition of the various tokens. -
org.hibernate.engine.spi中QueryException的使用
抛出QueryException的org.hibernate.engine.spi中的方法 修饰符和类型 方法 说明 voidQueryParameters. validateParameters() -
org.hibernate.hql.internal中QueryException的使用
org.hibernate.hql.internal中QueryException的子类 修饰符和类型 类 说明 classQueryExecutionRequestExceptionExpecting to execute an illegal operation regarding the query type -
org.hibernate.hql.internal.ast中QueryException的使用
org.hibernate.hql.internal.ast中QueryException的子类 修饰符和类型 类 说明 classInvalidWithClauseExceptionIndicates an issue with the encountered with-clause.classQuerySyntaxExceptionException thrown when there is a syntax error in the HQL.返回QueryException的org.hibernate.hql.internal.ast中的方法 修饰符和类型 方法 说明 protected QueryExceptionQuerySyntaxException. generateQueryException(String queryString)抛出QueryException的org.hibernate.hql.internal.ast中的方法 修饰符和类型 方法 说明 voidQueryTranslatorImpl. compile(String collectionRole, Map replacements, boolean shallow)Compile a filter.voidQueryTranslatorImpl. compile(Map replacements, boolean shallow)Compile a "normal" query.int[]HqlSqlWalker. getNamedParameterLocations(String name)Returns the locations of all occurrences of the named parameter.protected voidHqlSqlWalker. postProcessInsert(antlr.collections.AST insert)voidErrorTracker. throwQueryException()voidParseErrorHandler. throwQueryException() -
org.hibernate.hql.internal.ast.tree中QueryException的使用
返回QueryException的org.hibernate.hql.internal.ast.tree中的方法 修饰符和类型 方法 说明 QueryExceptionDotNode.IllegalCollectionDereferenceExceptionBuilder. buildIllegalCollectionDereferenceException(String collectionPropertyName, FromReferenceNode lhs)抛出QueryException的org.hibernate.hql.internal.ast.tree中的方法 修饰符和类型 方法 说明 voidInsertStatement. validate()Performs detailed semantic validation on this insert statement tree.voidIntoClause. validateTypes(SelectClause selectClause) -
org.hibernate.hql.internal.ast.util中QueryException的使用
抛出QueryException的org.hibernate.hql.internal.ast.util中的方法 修饰符和类型 方法 说明 QueryableCollectionSessionFactoryHelper. requireQueryableCollection(String role)Locate the collection persister by the collection role, requiring that such a persister exist. -
org.hibernate.hql.internal.classic中QueryException的使用
抛出QueryException的org.hibernate.hql.internal.classic中的方法 修饰符和类型 方法 说明 voidPathExpressionParser. addAssociation(QueryTranslatorImpl q)StringPathExpressionParser. addFromAssociation(QueryTranslatorImpl q)StringPathExpressionParser. addFromCollection(QueryTranslatorImpl q)TypeSelectParser. aggregateType(List funcTokenList, Type type, QueryTranslatorImpl q)protected StringQueryTranslatorImpl. applyLocks(String sql, QueryParameters parameters, Dialect dialect, List<AfterLoadAction> afterLoadActions)voidQueryTranslatorImpl. compile(String collectionRole, Map replacements, boolean scalar)Compile a filter.voidQueryTranslatorImpl. compile(Map replacements, boolean scalar)Compile a "normal" query.protected String[]PathExpressionParser. currentColumns()voidClauseParser. end(QueryTranslatorImpl q)voidFromPathExpressionParser. end(QueryTranslatorImpl q)voidGroupByParser. end(QueryTranslatorImpl q)voidOrderByParser. end(QueryTranslatorImpl q)voidParser. end(QueryTranslatorImpl q)voidPathExpressionParser. end(QueryTranslatorImpl q)voidPreprocessingParser. end(QueryTranslatorImpl q)voidSelectPathExpressionParser. end(QueryTranslatorImpl q)voidWhereParser. end(QueryTranslatorImpl q)voidPathExpressionParser. fetch(QueryTranslatorImpl q, String entityName)StringPathExpressionParser. getCollectionSubquery(Map enabledFilters)int[]QueryTranslatorImpl. getNamedParameterLocs(String name)protected TypePathExpressionParser. getPropertyType()protected ListQueryTranslatorImpl. getResultList(List results, ResultTransformer resultTransformer)StringPathExpressionParser. getWhereColumn()booleanPathExpressionParser. isCollectionValued()static voidParserHelper. parse(Parser p, String text, String seperators, QueryTranslatorImpl q)protected voidFromPathExpressionParser. setExpectingCollectionIndex()protected voidPathExpressionParser. setExpectingCollectionIndex()protected voidSelectPathExpressionParser. setExpectingCollectionIndex()voidGroupByParser. start(QueryTranslatorImpl q)voidOrderByParser. start(QueryTranslatorImpl q)voidParser. start(QueryTranslatorImpl q)voidPreprocessingParser. start(QueryTranslatorImpl q)voidWhereParser. start(QueryTranslatorImpl q)voidClauseParser. token(String token, QueryTranslatorImpl q)voidFromParser. token(String token, QueryTranslatorImpl q)voidGroupByParser. token(String token, QueryTranslatorImpl q)voidOrderByParser. token(String token, QueryTranslatorImpl q)voidParser. token(String token, QueryTranslatorImpl q)voidPathExpressionParser. token(String token, QueryTranslatorImpl q)voidPreprocessingParser. token(String token, QueryTranslatorImpl q)voidSelectParser. token(String token, QueryTranslatorImpl q)voidWhereParser. token(String token, QueryTranslatorImpl q) -
org.hibernate.hql.spi中QueryException的使用
抛出QueryException的org.hibernate.hql.spi中的方法 修饰符和类型 方法 说明 voidFilterTranslator. compile(String collectionRole, Map replacements, boolean shallow)Compile a filter.voidQueryTranslator. compile(Map replacements, boolean shallow)Compile a "normal" query. -
org.hibernate.loader中QueryException的使用
抛出QueryException的org.hibernate.loader中的方法 修饰符和类型 方法 说明 protected ListLoader. getResultList(List results, ResultTransformer resultTransformer) -
org.hibernate.loader.criteria中QueryException的使用
抛出QueryException的org.hibernate.loader.criteria中的方法 修饰符和类型 方法 说明 protected StringCriteriaLoader. applyLocks(String sql, QueryParameters parameters, Dialect dialect, List<AfterLoadAction> afterLoadActions) -
org.hibernate.loader.custom中QueryException的使用
抛出QueryException的org.hibernate.loader.custom中的方法 修饰符和类型 方法 说明 protected StringCustomLoader. applyLocks(String sql, QueryParameters parameters, Dialect dialect, List<AfterLoadAction> afterLoadActions)protected ListCustomLoader. getResultList(List results, ResultTransformer resultTransformer) -
org.hibernate.loader.custom.sql中QueryException的使用
抛出QueryException的org.hibernate.loader.custom.sql中的方法 修饰符和类型 方法 说明 protected StringSQLQueryParser. substituteBrackets(String sqlQuery) -
org.hibernate.loader.hql中QueryException的使用
抛出QueryException的org.hibernate.loader.hql中的方法 修饰符和类型 方法 说明 protected StringQueryLoader. applyLocks(String sql, QueryParameters parameters, Dialect dialect, List<AfterLoadAction> afterLoadActions)int[]QueryLoader. getNamedParameterLocs(String name)Returns the locations of all occurrences of the named parameter.protected ListQueryLoader. getResultList(List results, ResultTransformer resultTransformer) -
org.hibernate.loader.plan.build.internal.spaces中QueryException的使用
抛出QueryException的org.hibernate.loader.plan.build.internal.spaces中的方法 修饰符和类型 方法 说明 String[]CompositePropertyMapping. toColumns(String propertyName)String[]CompositePropertyMapping. toColumns(String alias, String propertyName)TypeCompositePropertyMapping. toType(String propertyName) -
org.hibernate.persister.collection中QueryException的使用
抛出QueryException的org.hibernate.persister.collection中的方法 修饰符和类型 方法 说明 String[]AbstractCollectionPersister. toColumns(String propertyName)String[]AbstractCollectionPersister. toColumns(String alias, String propertyName)String[]CollectionPropertyMapping. toColumns(String propertyName)Given a property path, return the corresponding column name(s).String[]CollectionPropertyMapping. toColumns(String alias, String propertyName)String[]ElementPropertyMapping. toColumns(String propertyName)Given a property path, return the corresponding column name(s).String[]ElementPropertyMapping. toColumns(String alias, String propertyName)TypeAbstractCollectionPersister. toType(String propertyName)TypeCollectionPropertyMapping. toType(String propertyName)TypeElementPropertyMapping. toType(String propertyName) -
org.hibernate.persister.entity中QueryException的使用
返回QueryException的org.hibernate.persister.entity中的方法 修饰符和类型 方法 说明 protected QueryExceptionAbstractPropertyMapping. propertyException(String propertyName)抛出QueryException的org.hibernate.persister.entity中的方法 修饰符和类型 方法 说明 protected QueryExceptionAbstractPropertyMapping. propertyException(String propertyName)String[]AbstractEntityPersister. toColumns(String propertyName)Given a property path, return the corresponding column name(s).String[]AbstractEntityPersister. toColumns(String alias, String propertyName)Obtain aliased column/formula fragments for the specified property path.String[]AbstractPropertyMapping. toColumns(String propertyName)String[]AbstractPropertyMapping. toColumns(String alias, String propertyName)String[]BasicEntityPropertyMapping. toColumns(String alias, String propertyName)String[]JoinedSubclassEntityPersister. toColumns(String alias, String propertyName)String[]PropertyMapping. toColumns(String propertyName)Given a property path, return the corresponding column name(s).String[]PropertyMapping. toColumns(String alias, String propertyName)Obtain aliased column/formula fragments for the specified property path.TypeAbstractEntityPersister. toType(String propertyName)Given a component path expression, get the type of the propertyTypeAbstractPropertyMapping. toType(String propertyName)TypePropertyMapping. toType(String propertyName)Given a component path expression, get the type of the property -
org.hibernate.sql中QueryException的使用
抛出QueryException的org.hibernate.sql中的构造器 构造器 说明 ForUpdateFragment(Dialect dialect, LockOptions lockOptions, Map<String,String[]> keyColumnNames)
-