站内搜索: 请输入搜索关键词
当前页面: 在线文档首页 > Hibernate 3.2.3 正式版 API 英文文档

Uses of Class org.hibernate.QueryException (Hibernate API Documentation) - Hibernate 3.2.3 正式版 API 英文文档


Uses of Class
org.hibernate.QueryException

Packages that use QueryException
org.hibernate This package defines the central Hibernate APIs. 
org.hibernate.dialect This package abstracts the SQL dialect of the underlying database. 
org.hibernate.dialect.function A framework for defining database-specific SQL functions that are available via the dialect. 
org.hibernate.engine This package contains classes that are "shared" by other packages, and implementations of some key algorithms. 
org.hibernate.engine.query   
org.hibernate.hql This package defines the interface between Hibernate and the HQL query parser implementation (to allow switching between the 2.x and 3.0 HQL parsers). 
org.hibernate.hql.ast An ANTLR-based parser for Hibernate Query Language. 
org.hibernate.hql.ast.tree   
org.hibernate.hql.ast.util   
org.hibernate.hql.classic This package contains the Hibernate 2.x query parser which is being end-of-lifed. 
org.hibernate.impl This package contains implementations of the central Hibernate APIs, especially the Hibernate session. 
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 loader  
org.hibernate.loader.custom This package defines a framework for custom loaders that accept handwritten SQL  
org.hibernate.loader.hql This package defines a loader for the AST-based query parser  
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. 
 

Uses of QueryException in org.hibernate
 

Subclasses of QueryException in org.hibernate
 class QueryParameterException
          Parameter invalid or not found in the query
 

Uses of QueryException in org.hibernate.dialect
 

Methods in org.hibernate.dialect that throw QueryException
 Type DerbyDialect.DerbyTrimFunctionEmulation.getReturnType(Type columnType, Mapping mapping)
           
 String DerbyDialect.DerbyTrimFunctionEmulation.render(List args, SessionFactoryImplementor factory)
           
 

Uses of QueryException in org.hibernate.dialect.function
 

Methods in org.hibernate.dialect.function that throw QueryException
 Type VarArgsSQLFunction.getReturnType(Type columnType, Mapping mapping)
           
 String VarArgsSQLFunction.render(List args, SessionFactoryImplementor factory)
           
 Type SQLFunctionTemplate.getReturnType(Type columnType, Mapping mapping)
           
 Type SQLFunction.getReturnType(Type columnType, Mapping mapping)
          The return type of the function.
 String SQLFunction.render(List args, SessionFactoryImplementor factory)
          Render the function call as SQL fragment.
 Type PositionSubstringFunction.getReturnType(Type columnType, Mapping mapping)
           
 String PositionSubstringFunction.render(List args, SessionFactoryImplementor factory)
           
 Type NvlFunction.getReturnType(Type columnType, Mapping mapping)
           
 String NvlFunction.render(List args, SessionFactoryImplementor factory)
           
 Type NoArgSQLFunction.getReturnType(Type columnType, Mapping mapping)
           
 String NoArgSQLFunction.render(List args, SessionFactoryImplementor factory)
           
 Type ConvertFunction.getReturnType(Type columnType, Mapping mapping)
           
 String ConvertFunction.render(List args, SessionFactoryImplementor factory)
           
 Type ClassicAvgFunction.getReturnType(Type columnType, Mapping mapping)
           
 Type CharIndexFunction.getReturnType(Type columnType, Mapping mapping)
           
 String CharIndexFunction.render(List args, SessionFactoryImplementor factory)
           
 Type CastFunction.getReturnType(Type columnType, Mapping mapping)
           
 String CastFunction.render(List args, SessionFactoryImplementor factory)
           
 Type AnsiTrimEmulationFunction.getReturnType(Type columnType, Mapping mapping)
           
 String AnsiTrimEmulationFunction.render(List args, SessionFactoryImplementor factory)
           
 

Uses of QueryException in org.hibernate.engine
 

Methods in org.hibernate.engine that throw QueryException
 void QueryParameters.validateParameters()
           
 

Uses of QueryException in org.hibernate.engine.query
 

Methods in org.hibernate.engine.query that throw QueryException
 HQLQueryPlan QueryPlanCache.getHQLQueryPlan(String queryString, boolean shallow, Map enabledFilters)
           
 FilterQueryPlan QueryPlanCache.getFilterQueryPlan(String filterString, String collectionRole, boolean shallow, Map enabledFilters)
           
static void ParameterParser.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.
 

Uses of QueryException in org.hibernate.hql
 

Subclasses of QueryException in org.hibernate.hql
 class QueryExecutionRequestException
          Expecting to execute an illegal operation regarding the query type
 

Methods in org.hibernate.hql that throw QueryException
 void QueryTranslator.compile(Map replacements, boolean shallow)
          Compile a "normal" query.
 void FilterTranslator.compile(String collectionRole, Map replacements, boolean shallow)
          Compile a filter.
 

Uses of QueryException in org.hibernate.hql.ast
 

Subclasses of QueryException in org.hibernate.hql.ast
 class InvalidWithClauseException
          {@inheritDoc}
 class QuerySyntaxException
          Exception thrown when there is a syntax error in the HQL.
 

Methods in org.hibernate.hql.ast that throw QueryException
 void QueryTranslatorImpl.compile(Map replacements, boolean shallow)
          Compile a "normal" query.
 void QueryTranslatorImpl.compile(String collectionRole, Map replacements, boolean shallow)
          Compile a filter.
 void ParseErrorHandler.throwQueryException()
           
protected  void HqlSqlWalker.postProcessInsert(antlr.collections.AST insert)
           
 int[] HqlSqlWalker.getNamedParameterLocations(String name)
          Returns the locations of all occurrences of the named parameter.
 void ErrorCounter.throwQueryException()
           
 

Uses of QueryException in org.hibernate.hql.ast.tree
 

Methods in org.hibernate.hql.ast.tree that return QueryException
 QueryException DotNode.IllegalCollectionDereferenceExceptionBuilder.buildIllegalCollectionDereferenceException(String collectionPropertyName, FromReferenceNode lhs)
           
 

Methods in org.hibernate.hql.ast.tree that throw QueryException
 void IntoClause.validateTypes(SelectClause selectClause)
           
 void InsertStatement.validate()
          Performs detailed semantic validation on this insert statement tree.
 

Uses of QueryException in org.hibernate.hql.ast.util
 

Methods in org.hibernate.hql.ast.util that throw QueryException
 QueryableCollection SessionFactoryHelper.requireQueryableCollection(String role)
          Locate the collection persister by the collection role, requiring that such a persister exist.
 

Uses of QueryException in org.hibernate.hql.classic
 

Methods in org.hibernate.hql.classic that throw QueryException
 void WhereParser.token(String token, QueryTranslatorImpl q)
           
 void WhereParser.start(QueryTranslatorImpl q)
           
 void WhereParser.end(QueryTranslatorImpl q)
           
 void SelectPathExpressionParser.end(QueryTranslatorImpl q)
           
protected  void SelectPathExpressionParser.setExpectingCollectionIndex()
           
 void SelectParser.token(String token, QueryTranslatorImpl q)
           
 Type SelectParser.aggregateType(List funcTokenList, Type type, QueryTranslatorImpl q)
           
 void QueryTranslatorImpl.compile(Map replacements, boolean scalar)
          Compile a "normal" query.
 void QueryTranslatorImpl.compile(String collectionRole, Map replacements, boolean scalar)
          Compile a filter.
 int[] QueryTranslatorImpl.getNamedParameterLocs(String name)
           
protected  List QueryTranslatorImpl.getResultList(List results, ResultTransformer resultTransformer)
           
protected  String QueryTranslatorImpl.applyLocks(String sql, Map lockModes, Dialect dialect)
           
 void PreprocessingParser.token(String token, QueryTranslatorImpl q)
           
 void PreprocessingParser.start(QueryTranslatorImpl q)
           
 void PreprocessingParser.end(QueryTranslatorImpl q)
           
 void PathExpressionParser.token(String token, QueryTranslatorImpl q)
           
protected  Type PathExpressionParser.getPropertyType()
           
protected  String[] PathExpressionParser.currentColumns()
           
 void PathExpressionParser.end(QueryTranslatorImpl q)
           
protected  void PathExpressionParser.setExpectingCollectionIndex()
           
 String PathExpressionParser.getWhereColumn()
           
 String PathExpressionParser.getCollectionSubquery(Map enabledFilters)
           
 boolean PathExpressionParser.isCollectionValued()
           
 void PathExpressionParser.addAssociation(QueryTranslatorImpl q)
           
 String PathExpressionParser.addFromAssociation(QueryTranslatorImpl q)
           
 String PathExpressionParser.addFromCollection(QueryTranslatorImpl q)
           
 void PathExpressionParser.fetch(QueryTranslatorImpl q, String entityName)
           
static void ParserHelper.parse(Parser p, String text, String seperators, QueryTranslatorImpl q)
           
 void Parser.token(String token, QueryTranslatorImpl q)
           
 void Parser.start(QueryTranslatorImpl q)
           
 void Parser.end(QueryTranslatorImpl q)
           
 void OrderByParser.token(String token, QueryTranslatorImpl q)
           
 void OrderByParser.start(QueryTranslatorImpl q)
           
 void OrderByParser.end(QueryTranslatorImpl q)
           
 void GroupByParser.token(String token, QueryTranslatorImpl q)
           
 void GroupByParser.start(QueryTranslatorImpl q)
           
 void GroupByParser.end(QueryTranslatorImpl q)
           
 void FromPathExpressionParser.end(QueryTranslatorImpl q)
           
protected  void FromPathExpressionParser.setExpectingCollectionIndex()
           
 void FromParser.token(String token, QueryTranslatorImpl q)
           
 void ClauseParser.token(String token, QueryTranslatorImpl q)
           
 void ClauseParser.end(QueryTranslatorImpl q)
           
 

Uses of QueryException in org.hibernate.impl
 

Methods in org.hibernate.impl that throw QueryException
protected  void AbstractQueryImpl.verifyParameters()
          Perform parameter validation.
 

Uses of QueryException in org.hibernate.loader
 

Methods in org.hibernate.loader that throw QueryException
protected  List Loader.getResultList(List results, ResultTransformer resultTransformer)
           
 

Uses of QueryException in org.hibernate.loader.criteria
 

Methods in org.hibernate.loader.criteria that throw QueryException
protected  String CriteriaLoader.applyLocks(String sqlSelectString, Map lockModes, Dialect dialect)
           
 

Uses of QueryException in org.hibernate.loader.custom
 

Methods in org.hibernate.loader.custom that throw QueryException
protected  List CustomLoader.getResultList(List results, ResultTransformer resultTransformer)
           
 int[] CustomLoader.getNamedParameterLocs(String name)
           
 

Uses of QueryException in org.hibernate.loader.hql
 

Methods in org.hibernate.loader.hql that throw QueryException
protected  String QueryLoader.applyLocks(String sql, Map lockModes, Dialect dialect)
           
protected  List QueryLoader.getResultList(List results, ResultTransformer resultTransformer)
           
 int[] QueryLoader.getNamedParameterLocs(String name)
          Returns the locations of all occurrences of the named parameter.
 

Uses of QueryException in org.hibernate.persister.collection
 

Methods in org.hibernate.persister.collection that throw QueryException
 Type ElementPropertyMapping.toType(String propertyName)
           
 String[] ElementPropertyMapping.toColumns(String alias, String propertyName)
           
 String[] ElementPropertyMapping.toColumns(String propertyName)
          Given a property path, return the corresponding column name(s).
 Type CollectionPropertyMapping.toType(String propertyName)
           
 String[] CollectionPropertyMapping.toColumns(String alias, String propertyName)
           
 String[] CollectionPropertyMapping.toColumns(String propertyName)
          Given a property path, return the corresponding column name(s).
 Type AbstractCollectionPersister.toType(String propertyName)
           
 String[] AbstractCollectionPersister.toColumns(String alias, String propertyName)
           
 String[] AbstractCollectionPersister.toColumns(String propertyName)
           
 

Uses of QueryException in org.hibernate.persister.entity
 

Methods in org.hibernate.persister.entity that return QueryException
protected  QueryException AbstractPropertyMapping.propertyException(String propertyName)
           
 

Methods in org.hibernate.persister.entity that throw QueryException
 Type PropertyMapping.toType(String propertyName)
          Given a component path expression, get the type of the property
 String[] PropertyMapping.toColumns(String alias, String propertyName)
          Given a query alias and a property path, return the qualified column name
 String[] PropertyMapping.toColumns(String propertyName)
          Given a property path, return the corresponding column name(s).
 String[] JoinedSubclassEntityPersister.toColumns(String alias, String propertyName)
           
 String[] BasicEntityPropertyMapping.toColumns(String alias, String propertyName)
           
 Type AbstractPropertyMapping.toType(String propertyName)
           
 String[] AbstractPropertyMapping.toColumns(String alias, String propertyName)
           
 String[] AbstractPropertyMapping.toColumns(String propertyName)
           
 String[] AbstractEntityPersister.toColumns(String alias, String propertyName)
           
 String[] AbstractEntityPersister.toColumns(String propertyName)
           
 Type AbstractEntityPersister.toType(String propertyName)
           
 

Uses of QueryException in org.hibernate.sql
 

Constructors in org.hibernate.sql that throw QueryException
ForUpdateFragment(Dialect dialect, Map lockModes, Map keyColumnNames)