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 |
QueryException.generateQueryException(java.lang.String queryString)
Called from
wrapWithQueryString(String) when we really need to generate a new QueryException
(or subclass). |
protected QueryException |
QueryParameterException.generateQueryException(java.lang.String queryString) |
QueryException |
QueryException.wrapWithQueryString(java.lang.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 |
AbstractAnsiTrimEmulationFunction.getReturnType(Type argumentType,
Mapping mapping) |
Type |
CastFunction.getReturnType(Type columnType,
Mapping mapping) |
Type |
CharIndexFunction.getReturnType(Type columnType,
Mapping mapping) |
Type |
ConvertFunction.getReturnType(Type firstArgumentType,
Mapping mapping) |
Type |
DerbyConcatFunction.getReturnType(Type argumentType,
Mapping mapping)
The return type of the function.
|
Type |
NoArgSQLFunction.getReturnType(Type argumentType,
Mapping mapping) |
Type |
NvlFunction.getReturnType(Type argumentType,
Mapping mapping) |
Type |
PositionSubstringFunction.getReturnType(Type firstArgumentType,
Mapping mapping) |
Type |
SQLFunction.getReturnType(Type firstArgumentType,
Mapping mapping)
The return type of the function.
|
Type |
SQLFunctionTemplate.getReturnType(Type argumentType,
Mapping mapping) |
Type |
TrimFunctionTemplate.getReturnType(Type firstArgument,
Mapping mapping) |
Type |
VarArgsSQLFunction.getReturnType(Type firstArgumentType,
Mapping mapping) |
java.lang.String |
AbstractAnsiTrimEmulationFunction.render(Type argumentType,
java.util.List args,
SessionFactoryImplementor factory) |
java.lang.String |
CastFunction.render(Type columnType,
java.util.List args,
SessionFactoryImplementor factory) |
java.lang.String |
CharIndexFunction.render(Type columnType,
java.util.List args,
SessionFactoryImplementor factory) |
java.lang.String |
ConvertFunction.render(Type firstArgumentType,
java.util.List args,
SessionFactoryImplementor factory) |
java.lang.String |
DerbyConcatFunction.render(Type argumentType,
java.util.List args,
SessionFactoryImplementor factory)
Render the function call as SQL fragment.
|
java.lang.String |
NoArgSQLFunction.render(Type argumentType,
java.util.List args,
SessionFactoryImplementor factory) |
java.lang.String |
NvlFunction.render(Type argumentType,
java.util.List args,
SessionFactoryImplementor factory) |
java.lang.String |
PositionSubstringFunction.render(Type firstArgumentType,
java.util.List args,
SessionFactoryImplementor factory) |
java.lang.String |
SQLFunction.render(Type firstArgumentType,
java.util.List arguments,
SessionFactoryImplementor factory)
Render the function call as SQL fragment.
|
java.lang.String |
StandardAnsiSqlAggregationFunctions.AvgFunction.render(Type firstArgumentType,
java.util.List arguments,
SessionFactoryImplementor factory) |
java.lang.String |
StaticPrecisionFspTimestampFunction.render(Type argumentType,
java.util.List args,
SessionFactoryImplementor factory) |
java.lang.String |
TrimFunctionTemplate.render(Type firstArgument,
java.util.List args,
SessionFactoryImplementor factory) |
Modifier and Type | Method and Description |
---|---|
FilterQueryPlan |
QueryPlanCache.getFilterQueryPlan(java.lang.String filterString,
java.lang.String collectionRole,
boolean shallow,
java.util.Map<java.lang.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(java.lang.String queryString,
boolean shallow,
java.util.Map<java.lang.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(java.lang.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(java.util.Map replacements,
boolean shallow)
Compile a "normal" query.
|
void |
FilterTranslator.compile(java.lang.String collectionRole,
java.util.Map replacements,
boolean shallow)
Compile a filter.
|
Modifier and Type | Method and Description |
---|---|
protected java.util.List |
Loader.getResultList(java.util.List results,
ResultTransformer resultTransformer) |
Modifier and Type | Method and Description |
---|---|
protected java.lang.String |
CriteriaLoader.applyLocks(java.lang.String sql,
QueryParameters parameters,
Dialect dialect,
java.util.List<AfterLoadAction> afterLoadActions) |
Modifier and Type | Method and Description |
---|---|
protected java.lang.String |
CustomLoader.applyLocks(java.lang.String sql,
QueryParameters parameters,
Dialect dialect,
java.util.List<AfterLoadAction> afterLoadActions) |
protected java.util.List |
CustomLoader.getResultList(java.util.List results,
ResultTransformer resultTransformer) |
Modifier and Type | Method and Description |
---|---|
protected java.lang.String |
SQLQueryParser.substituteBrackets(java.lang.String sqlQuery) |
Modifier and Type | Method and Description |
---|---|
protected java.lang.String |
QueryLoader.applyLocks(java.lang.String sql,
QueryParameters parameters,
Dialect dialect,
java.util.List<AfterLoadAction> afterLoadActions) |
int[] |
QueryLoader.getNamedParameterLocs(java.lang.String name)
Returns the locations of all occurrences of the named parameter.
|
protected java.util.List |
QueryLoader.getResultList(java.util.List results,
ResultTransformer resultTransformer) |
Modifier and Type | Method and Description |
---|---|
java.lang.String[] |
AbstractCollectionPersister.toColumns(java.lang.String propertyName) |
java.lang.String[] |
CollectionPropertyMapping.toColumns(java.lang.String propertyName)
Given a property path, return the corresponding column name(s).
|
java.lang.String[] |
ElementPropertyMapping.toColumns(java.lang.String propertyName)
Given a property path, return the corresponding column name(s).
|
java.lang.String[] |
AbstractCollectionPersister.toColumns(java.lang.String alias,
java.lang.String propertyName) |
java.lang.String[] |
CollectionPropertyMapping.toColumns(java.lang.String alias,
java.lang.String propertyName) |
java.lang.String[] |
ElementPropertyMapping.toColumns(java.lang.String alias,
java.lang.String propertyName) |
Type |
AbstractCollectionPersister.toType(java.lang.String propertyName) |
Type |
CollectionPropertyMapping.toType(java.lang.String propertyName) |
Type |
ElementPropertyMapping.toType(java.lang.String propertyName) |
Modifier and Type | Method and Description |
---|---|
protected QueryException |
AbstractPropertyMapping.propertyException(java.lang.String propertyName) |
Modifier and Type | Method and Description |
---|---|
protected QueryException |
AbstractPropertyMapping.propertyException(java.lang.String propertyName) |
java.lang.String[] |
AbstractEntityPersister.toColumns(java.lang.String propertyName)
Given a property path, return the corresponding column name(s).
|
java.lang.String[] |
AbstractPropertyMapping.toColumns(java.lang.String propertyName) |
java.lang.String[] |
PropertyMapping.toColumns(java.lang.String propertyName)
Given a property path, return the corresponding column name(s).
|
java.lang.String[] |
AbstractEntityPersister.toColumns(java.lang.String alias,
java.lang.String propertyName)
Obtain aliased column/formula fragments for the specified property path.
|
java.lang.String[] |
AbstractPropertyMapping.toColumns(java.lang.String alias,
java.lang.String propertyName) |
java.lang.String[] |
BasicEntityPropertyMapping.toColumns(java.lang.String alias,
java.lang.String propertyName) |
java.lang.String[] |
JoinedSubclassEntityPersister.toColumns(java.lang.String alias,
java.lang.String propertyName) |
java.lang.String[] |
PropertyMapping.toColumns(java.lang.String alias,
java.lang.String propertyName)
Obtain aliased column/formula fragments for the specified property path.
|
Type |
AbstractEntityPersister.toType(java.lang.String propertyName)
Given a component path expression, get the type of the property
|
Type |
AbstractPropertyMapping.toType(java.lang.String propertyName) |
Type |
PropertyMapping.toType(java.lang.String propertyName)
Given a component path expression, get the type of the property
|
Constructor and Description |
---|
ForUpdateFragment(Dialect dialect,
LockOptions lockOptions,
java.util.Map<java.lang.String,java.lang.String[]> keyColumnNames) |
Copyright © 2001-2021 Red Hat, Inc. All Rights Reserved.