| org.hibernate.loader.custom.CustomQuery
All known Subclasses: org.hibernate.loader.custom.sql.SQLCustomQuery,
CustomQuery | public interface CustomQuery (Code) | | Extension point allowing any SQL query with named and positional parameters
to be executed by Hibernate, returning managed entities, collections and
simple scalar values.
author: Gavin King author: Steve Ebersole |
getCustomQueryReturns | public List getCustomQueryReturns()(Code) | | A collection of
Return descriptors describing the
JDBC result set to be expected and how to map this result set.
List of return descriptors. |
getNamedParameterBindPoints | public Map getNamedParameterBindPoints()(Code) | | A map representing positions within the supplied
CustomQuery.getSQL query to
which we need to bind named parameters.
Optional, may return null if no named parameters.
The structure of the returned map (if one) as follows:
- The keys into the map are the named parameter names
- The corresponding value is either an
Integer if the
parameter occurs only once in the query; or a List of Integers if the
parameter occurs more than once
|
getQuerySpaces | public Set getQuerySpaces()(Code) | | Any query spaces to apply to the query execution. Query spaces are
used in Hibernate's auto-flushing mechanism to determine which
entities need to be checked for pending changes.
The query spaces |
getSQL | public String getSQL()(Code) | | The SQL query string to be performed.
The SQL statement string. |
|
|