Package org.hibernate.criterion
Class SimpleSubqueryExpression
- java.lang.Object
-
- org.hibernate.criterion.SubqueryExpression
-
- org.hibernate.criterion.SimpleSubqueryExpression
-
- All Implemented Interfaces:
java.io.Serializable
,Criterion
public class SimpleSubqueryExpression extends SubqueryExpression
A comparison between a constant value and the the result of a subquery- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Modifier Constructor Description protected
SimpleSubqueryExpression(java.lang.Object value, java.lang.String op, java.lang.String quantifier, DetachedCriteria dc)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description TypedValue[]
getTypedValues(Criteria criteria, CriteriaQuery criteriaQuery)
Return typed values for all parameters in the rendered SQL fragmentprotected java.lang.String
toLeftSqlString(Criteria criteria, CriteriaQuery criteriaQuery)
-
Methods inherited from class org.hibernate.criterion.SubqueryExpression
getTypes, toSqlString
-
-
-
-
Constructor Detail
-
SimpleSubqueryExpression
protected SimpleSubqueryExpression(java.lang.Object value, java.lang.String op, java.lang.String quantifier, DetachedCriteria dc)
-
-
Method Detail
-
getTypedValues
public TypedValue[] getTypedValues(Criteria criteria, CriteriaQuery criteriaQuery) throws HibernateException
Description copied from interface:Criterion
Return typed values for all parameters in the rendered SQL fragment- Specified by:
getTypedValues
in interfaceCriterion
- Overrides:
getTypedValues
in classSubqueryExpression
- Parameters:
criteria
- The local criteriacriteriaQuery
- The overal criteria query- Returns:
- The types values (for binding)
- Throws:
HibernateException
- Problem determining types.
-
toLeftSqlString
protected java.lang.String toLeftSqlString(Criteria criteria, CriteriaQuery criteriaQuery)
- Specified by:
toLeftSqlString
in classSubqueryExpression
-
-