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