|
|||||||||||
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 CustomQuery
public Map getNamedParameterBindPoints()
CustomQuery
getNamedParameterBindPoints
in interface CustomQuery
public String[] getCollectionRoles()
CustomQuery
getCollectionRoles
in interface CustomQuery
public String[] getEntityNames()
getEntityNames
in interface CustomQuery
public LockMode[] getLockModes()
getLockModes
in interface CustomQuery
public EntityAliases[] getEntityAliases()
getEntityAliases
in interface CustomQuery
public CollectionAliases[] getCollectionAliases()
getCollectionAliases
in interface CustomQuery
public Set getQuerySpaces()
getQuerySpaces
in interface CustomQuery
public int[] getCollectionOwner()
CustomQuery
getCollectionOwner
in interface CustomQuery
public int[] getEntityOwners()
CustomQuery
getEntityOwners
in interface CustomQuery
public String[] getScalarColumnAliases()
CustomQuery
getScalarColumnAliases
in interface CustomQuery
public Type[] getScalarTypes()
CustomQuery
getScalarTypes
in interface CustomQuery
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |