java.lang.Object | |
↳ | org.hibernate.criterion.SimpleProjection |
![]() |
![]() |
A single-column projection that may be aliased
Public Constructors | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
Public Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
Get the criteria-level aliases for this projection (ie.
| |||||||||||
Get the SQL column aliases used by this projection for the columns it writes for inclusion into the
SELECT clause (
toSqlString(Criteria, int, CriteriaQuery) . | |||||||||||
Get the SQL column aliases used by this projection for the columns it writes for inclusion into the
SELECT clause (
toSqlString(Criteria, int, CriteriaQuery) for a particular criteria-level alias. | |||||||||||
Get the SQL column aliases used by this projection for the columns it writes for inclusion into the
SELECT clause (
toSqlString(Criteria, int, CriteriaQuery) . | |||||||||||
Get the SQL column aliases used by this projection for the columns it writes for inclusion into the
SELECT clause (
toSqlString(Criteria, int, CriteriaQuery) for a particular criteria-level alias. | |||||||||||
Get the return types for a particular user-visible alias.
| |||||||||||
Is this projection fragment (SELECT clause) also part of the GROUP BY
| |||||||||||
Render the SQL fragment to be used in the GROUP BY clause
|
[Expand]
Inherited Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
![]() | |||||||||||
![]() | |||||||||||
![]() |
Get the criteria-level aliases for this projection (ie. the ones that will be passed to the
ResultTransformer
)
Get the SQL column aliases used by this projection for the columns it writes for inclusion into the
SELECT clause (toSqlString(Criteria, int, CriteriaQuery)
. Hibernate always uses column aliases to extract data from the
JDBC java.sql.ResultSet, so it is important that these be implemented correctly in order for
Hibernate to be able to extract these val;ues correctly.
loc | Just as in toSqlString(Criteria, int, CriteriaQuery) , represents the number of columns rendered
prior to this projection. |
---|
Get the SQL column aliases used by this projection for the columns it writes for inclusion into the
SELECT clause (toSqlString(Criteria, int, CriteriaQuery)
for a particular criteria-level alias.
alias | The criteria-level alias |
---|---|
loc | Just as in toSqlString(Criteria, int, CriteriaQuery) , represents the number of columns rendered
prior to this projection. |
Get the SQL column aliases used by this projection for the columns it writes for inclusion into the
SELECT clause (toSqlString(Criteria, int, CriteriaQuery)
. Hibernate always uses column aliases to extract data from the
JDBC java.sql.ResultSet, so it is important that these be implemented correctly in order for
Hibernate to be able to extract these val;ues correctly.
loc | Just as in toSqlString(Criteria, int, CriteriaQuery) , represents the number of columns rendered
prior to this projection. |
---|---|
criteria | The local criteria to which this project is attached (for resolution). |
criteriaQuery | The overall criteria query instance. |
Get the SQL column aliases used by this projection for the columns it writes for inclusion into the
SELECT clause (toSqlString(Criteria, int, CriteriaQuery)
for a particular criteria-level alias.
alias | The criteria-level alias |
---|---|
loc | Just as in toSqlString(Criteria, int, CriteriaQuery) , represents the number of columns rendered
prior to this projection. |
criteria | The local criteria to which this project is attached (for resolution). |
criteriaQuery | The overall criteria query instance. |
Get the return types for a particular user-visible alias.
Differs fromgetTypes(org.hibernate.Criteria, CriteriaQuery)
in that here we are only interested in
the types related to the given criteria-level alias.alias | The criteria-level alias for which to find types. |
---|---|
criteria | The local criteria to which this project is attached (for resolution). |
criteriaQuery | The overall criteria query instance. |
HibernateException |
---|
Is this projection fragment (SELECT clause) also part of the GROUP BY
Render the SQL fragment to be used in the GROUP BY clause
criteria | The local criteria to which this project is attached (for resolution). |
---|---|
criteriaQuery | The overall criteria query instance. |
HibernateException |
---|