Package | Description |
---|---|
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 queries
|
org.hibernate.engine.spi | |
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 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.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.
|
Modifier and Type | Class and Description |
---|---|
class |
QueryParameterException
Parameter invalid or not found in the query.
|
Modifier and Type | Method and Description |
---|---|
protected QueryException |
QueryParameterException.generateQueryException(String queryString) |
protected QueryException |
QueryException.generateQueryException(String queryString)
Called from
wrapWithQueryString(String) when we really need to generate a new QueryException
(or subclass). |
QueryException |
QueryException.wrapWithQueryString(String queryString)
Wraps this exception with another, of same kind, with the specified queryString.
|
Modifier and Type | Method and Description |
---|---|
protected int |
StandardAnsiSqlAggregationFunctions.SumFunction.determineJdbcTypeCode(Type type,
Mapping mapping) |
protected int |
StandardAnsiSqlAggregationFunctions.AvgFunction.determineJdbcTypeCode(Type firstArgumentType,
SessionFactoryImplementor factory) |
Type |
NoArgSQLFunction.getReturnType(Type argumentType,
Mapping mapping) |
Type |
VarArgsSQLFunction.getReturnType(Type firstArgumentType,
Mapping mapping) |
Type |
AbstractAnsiTrimEmulationFunction.getReturnType(Type argumentType,
Mapping mapping) |
Type |
SQLFunctionTemplate.getReturnType(Type argumentType,
Mapping mapping) |
Type |
DerbyConcatFunction.getReturnType(Type argumentType,
Mapping mapping)
The return type of the function.
|
Type |
ConvertFunction.getReturnType(Type firstArgumentType,
Mapping mapping) |
Type |
SQLFunction.getReturnType(Type firstArgumentType,
Mapping mapping)
The return type of the function.
|
Type |
CharIndexFunction.getReturnType(Type columnType,
Mapping mapping) |
Type |
PositionSubstringFunction.getReturnType(Type firstArgumentType,
Mapping mapping) |
Type |
TrimFunctionTemplate.getReturnType(Type firstArgument,
Mapping mapping) |
Type |
NvlFunction.getReturnType(Type argumentType,
Mapping mapping) |
Type |
CastFunction.getReturnType(Type columnType,
Mapping mapping) |
String |
NoArgSQLFunction.render(Type argumentType,
List args,
SessionFactoryImplementor factory) |
String |
StaticPrecisionFspTimestampFunction.render(Type argumentType,
List args,
SessionFactoryImplementor factory) |
String |
AbstractAnsiTrimEmulationFunction.render(Type argumentType,
List args,
SessionFactoryImplementor factory) |
String |
DerbyConcatFunction.render(Type argumentType,
List args,
SessionFactoryImplementor factory)
Render the function call as SQL fragment.
|
String |
ConvertFunction.render(Type firstArgumentType,
List args,
SessionFactoryImplementor factory) |
String |
SQLFunction.render(Type firstArgumentType,
List arguments,
SessionFactoryImplementor factory)
Render the function call as SQL fragment.
|
String |
CharIndexFunction.render(Type columnType,
List args,
SessionFactoryImplementor factory) |
String |
PositionSubstringFunction.render(Type firstArgumentType,
List args,
SessionFactoryImplementor factory) |
String |
TrimFunctionTemplate.render(Type firstArgument,
List args,
SessionFactoryImplementor factory) |
String |
StandardAnsiSqlAggregationFunctions.AvgFunction.render(Type firstArgumentType,
List arguments,
SessionFactoryImplementor factory) |
String |
NvlFunction.render(Type argumentType,
List args,
SessionFactoryImplementor factory) |
String |
CastFunction.render(Type columnType,
List args,
SessionFactoryImplementor factory) |
Modifier and Type | Method and Description |
---|---|
FilterQueryPlan |
QueryPlanCache.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 cached
|
HQLQueryPlan |
QueryPlanCache.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 cached
|
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.
|
Modifier and Type | Method and Description |
---|---|
void |
QueryParameters.validateParameters() |
Modifier and Type | Method and Description |
---|---|
void |
QueryTranslator.compile(Map replacements,
boolean shallow)
Compile a "normal" query.
|
void |
FilterTranslator.compile(String collectionRole,
Map replacements,
boolean shallow)
Compile a filter.
|
Modifier and Type | Method and Description |
---|---|
protected List |
Loader.getResultList(List results,
ResultTransformer resultTransformer) |
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 |
---|---|
protected String |
CustomLoader.applyLocks(String sql,
QueryParameters parameters,
Dialect dialect,
List<AfterLoadAction> afterLoadActions) |
protected List |
CustomLoader.getResultList(List results,
ResultTransformer resultTransformer) |
Modifier and Type | Method and Description |
---|---|
protected String |
SQLQueryParser.substituteBrackets(String sqlQuery) |
Modifier and Type | Method and Description |
---|---|
protected String |
QueryLoader.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 List |
QueryLoader.getResultList(List results,
ResultTransformer resultTransformer) |
Modifier and Type | Method and Description |
---|---|
String[] |
CollectionPropertyMapping.toColumns(String propertyName)
Given a property path, return the corresponding column name(s).
|
String[] |
AbstractCollectionPersister.toColumns(String propertyName) |
String[] |
ElementPropertyMapping.toColumns(String propertyName)
Given a property path, return the corresponding column name(s).
|
String[] |
CollectionPropertyMapping.toColumns(String alias,
String propertyName) |
String[] |
AbstractCollectionPersister.toColumns(String alias,
String propertyName) |
String[] |
ElementPropertyMapping.toColumns(String alias,
String propertyName) |
Type |
CollectionPropertyMapping.toType(String propertyName) |
Type |
AbstractCollectionPersister.toType(String propertyName) |
Type |
ElementPropertyMapping.toType(String propertyName) |
Modifier and Type | Method and Description |
---|---|
protected QueryException |
AbstractPropertyMapping.propertyException(String propertyName) |
Modifier and Type | Method and Description |
---|---|
protected QueryException |
AbstractPropertyMapping.propertyException(String propertyName) |
String[] |
AbstractEntityPersister.toColumns(String propertyName)
Given a property path, return the corresponding column name(s).
|
String[] |
PropertyMapping.toColumns(String propertyName)
Given a property path, return the corresponding column name(s).
|
String[] |
AbstractPropertyMapping.toColumns(String propertyName) |
String[] |
BasicEntityPropertyMapping.toColumns(String alias,
String propertyName) |
String[] |
AbstractEntityPersister.toColumns(String alias,
String propertyName)
Obtain aliased column/formula fragments for the specified property path.
|
String[] |
PropertyMapping.toColumns(String alias,
String propertyName)
Obtain aliased column/formula fragments for the specified property path.
|
String[] |
AbstractPropertyMapping.toColumns(String alias,
String propertyName) |
String[] |
JoinedSubclassEntityPersister.toColumns(String alias,
String propertyName) |
Type |
AbstractEntityPersister.toType(String propertyName)
Given a component path expression, get the type of the property
|
Type |
PropertyMapping.toType(String propertyName)
Given a component path expression, get the type of the property
|
Type |
AbstractPropertyMapping.toType(String propertyName) |
Constructor and Description |
---|
ForUpdateFragment(Dialect dialect,
LockOptions lockOptions,
Map<String,String[]> keyColumnNames) |
Copyright © 2001-2020 Red Hat, Inc. All Rights Reserved.