org.hibernate.hql.QueryTranslator |
![]() |
Defines the contract of an HQL->SQL translator.
Constants | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
String | ERROR_CANNOT_DETERMINE_TYPE | ||||||||||
String | ERROR_CANNOT_FETCH_WITH_ITERATE | ||||||||||
String | ERROR_CANNOT_FORMAT_LITERAL | ||||||||||
String | ERROR_NAMED_PARAMETER_DOES_NOT_APPEAR |
Public Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
Compile a "normal" query.
| |||||||||||
Does the translated query contain collection fetches?
| |||||||||||
Perform a bulk update/delete operation given the underlying query definition.
| |||||||||||
Returns the column names in the generated SQL.
| |||||||||||
Returns the filters enabled for this query translator.
| |||||||||||
Return information about any parameters encountered during
translation.
| |||||||||||
Retrieve the query identifier for this translator.
| |||||||||||
Returns the set of query spaces (table names) that the query refers to.
| |||||||||||
Returns the HQL string processed by the translator.
| |||||||||||
Returns an array of HQL aliases
| |||||||||||
Returns an array of Types represented in the query result.
| |||||||||||
Returns the SQL string generated by the translator.
| |||||||||||
Perform an iterate operation given the underlying query definition.
| |||||||||||
Perform a list operation given the underlying query definition.
| |||||||||||
Perform a scroll operation given the underlying query definition.
| |||||||||||
Validate the scrollability of the translated query.
|
Compile a "normal" query. This method may be called multiple times. Subsequent invocations are no-ops.
replacements | Defined query substitutions. |
---|---|
shallow | Does this represent a shallow (scalar or entity-id) select? |
QueryException | There was a problem parsing the query string. |
---|---|
MappingException | There was a problem querying defined mappings. |
Does the translated query contain collection fetches?
Perform a bulk update/delete operation given the underlying query definition.
queryParameters | The query bind parameters. |
---|---|
session | The session owning this query. |
HibernateException |
---|
Returns the column names in the generated SQL.
Returns the filters enabled for this query translator.
Return information about any parameters encountered during translation.
Retrieve the query identifier for this translator. The query identifier is used in states collection.
Returns the set of query spaces (table names) that the query refers to.
Returns the HQL string processed by the translator.
Returns an array of Types represented in the query result.
Returns the SQL string generated by the translator.
Perform an iterate operation given the underlying query definition.
queryParameters | The query bind parameters. |
---|---|
session | The session owning this query. |
HibernateException |
---|
Perform a list operation given the underlying query definition.
session | The session owning this query. |
---|---|
queryParameters | The query bind parameters. |
HibernateException |
---|
Perform a scroll operation given the underlying query definition.
queryParameters | The query bind parameters. |
---|---|
session | The session owning this query. |
HibernateException |
---|
Validate the scrollability of the translated query.
HibernateException |
---|