|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface CustomQuery
Extension point allowing any SQL query with named and positional parameters to be executed by Hibernate, returning managed entities, collections and simple scalar values.
Method Summary | |
---|---|
List |
getCustomQueryReturns()
A collection of descriptors describing the
JDBC result set to be expected and how to map this result set. |
Map |
getNamedParameterBindPoints()
A map representing positions within the supplied query to
which we need to bind named parameters. |
Set |
getQuerySpaces()
Any query spaces to apply to the query execution. |
String |
getSQL()
The SQL query string to be performed. |
Method Detail |
---|
String getSQL()
Set getQuerySpaces()
Map getNamedParameterBindPoints()
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:Integer
if the
parameter occurs only once in the query; or a List of Integers if the
parameter occurs more than once
List getCustomQueryReturns()
descriptors
describing the
JDBC result set to be expected and how to map this result set.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |