|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Objectorg.hibernate.loader.custom.SQLCustomQuery
Implements Hibernate's built-in support for native SQL queries.
| Constructor Summary | |
SQLCustomQuery(SQLQueryReturn[] queryReturns,
SQLQueryScalarReturn[] scalarQueryReturns,
String sqlQuery,
Collection additionalQuerySpaces,
SessionFactoryImplementor factory)
|
|
| Method Summary | |
CollectionAliases[] |
getCollectionAliases()
|
int[] |
getCollectionOwner()
Optional, may return null |
String[] |
getCollectionRoles()
Optional, may return null |
EntityAliases[] |
getEntityAliases()
|
String[] |
getEntityNames()
|
int[] |
getEntityOwners()
Optional, may return null |
LockMode[] |
getLockModes()
|
Map |
getNamedParameterBindPoints()
Optional, may return null |
Set |
getQuerySpaces()
|
String[] |
getScalarColumnAliases()
Optional, may return null |
Type[] |
getScalarTypes()
Optional, may return null |
String |
getSQL()
|
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
public SQLCustomQuery(SQLQueryReturn[] queryReturns,
SQLQueryScalarReturn[] scalarQueryReturns,
String sqlQuery,
Collection additionalQuerySpaces,
SessionFactoryImplementor factory)
throws HibernateException
| Method Detail |
public String getSQL()
getSQL in interface CustomQuerypublic Map getNamedParameterBindPoints()
CustomQuery
getNamedParameterBindPoints in interface CustomQuerypublic String[] getCollectionRoles()
CustomQuery
getCollectionRoles in interface CustomQuerypublic String[] getEntityNames()
getEntityNames in interface CustomQuerypublic LockMode[] getLockModes()
getLockModes in interface CustomQuerypublic EntityAliases[] getEntityAliases()
getEntityAliases in interface CustomQuerypublic CollectionAliases[] getCollectionAliases()
getCollectionAliases in interface CustomQuerypublic Set getQuerySpaces()
getQuerySpaces in interface CustomQuerypublic int[] getCollectionOwner()
CustomQuery
getCollectionOwner in interface CustomQuerypublic int[] getEntityOwners()
CustomQuery
getEntityOwners in interface CustomQuerypublic String[] getScalarColumnAliases()
CustomQuery
getScalarColumnAliases in interface CustomQuerypublic Type[] getScalarTypes()
CustomQuery
getScalarTypes in interface CustomQuery
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||