Top Description Fields Constructors Methods
org.hibernate.criterion

public Class SimpleSubqueryExpression

extends SubqueryExpression
Class Inheritance
Imports
org.hibernate.Criteria, .HibernateException, org.hibernate.engine.spi.TypedValue

A comparison between a constant value and the the result of a subquery
Author
Gavin King

Field Summary

Modifier and TypeField and Description
private Object

Constructor Summary

AccessConstructor and Description
protected

Method Summary

Modifier and TypeMethod and Description
public TypedValue[]
getTypedValues(Criteria
The local criteria
criteria
,
CriteriaQuery
The overall criteria query
criteriaQuery
)

Overrides org.hibernate.criterion.SubqueryExpression.getTypedValues.

Implements org.hibernate.criterion.Criterion.getTypedValues.

Return typed values for all parameters in the rendered SQL fragment
protected String
Inherited from org.hibernate.criterion.SubqueryExpression:
getTypestoSqlString

Field Detail

valueback to summary
private Object value

Constructor Detail

SimpleSubqueryExpressionback to summary
protected SimpleSubqueryExpression(Object value, String op, String quantifier, DetachedCriteria dc)

Method Detail

getTypedValuesback to summary
public TypedValue[] getTypedValues(Criteria criteria, CriteriaQuery criteriaQuery) throws HibernateException

Overrides org.hibernate.criterion.SubqueryExpression.getTypedValues.

Implements org.hibernate.criterion.Criterion.getTypedValues.

Doc from org.hibernate.criterion.Criterion.getTypedValues.

Return typed values for all parameters in the rendered SQL fragment

Parameters
criteria:Criteria

The local criteria

criteriaQuery:CriteriaQuery

The overall criteria query

Returns:TypedValue[]

The types values (for binding)

Annotations
@Override
Exceptions
HibernateException:
Problem determining types.
toLeftSqlStringback to summary
protected String toLeftSqlString(Criteria criteria, CriteriaQuery criteriaQuery)

Implements abstract org.hibernate.criterion.SubqueryExpression.toLeftSqlString.

Annotations
@Override