Overview | Package | Class | Use | Tree | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

## org.hibernate.criterion
Class SimpleSubqueryExpression

    java.lang.Object
      org.hibernate.criterion.SubqueryExpression
          org.hibernate.criterion.SimpleSubqueryExpression

All Implemented Interfaces:
  Serializable, Criterion

    public class SimpleSubqueryExpression

extends SubqueryExpression

A comparison between a constant value and the the result of a subquery

Author:
  Gavin King
See Also:
  Serialized Form

Constructor Summary
`protected` | `SimpleSubqueryExpression(Object value, String op, String quantifier, DetachedCriteria dc)`

Method Summary
`TypedValue[]` | `getTypedValues(Criteria criteria, CriteriaQuery criteriaQuery)` Return typed values for all parameters in the rendered SQL fragment
`protected String` | `toLeftSqlString(Criteria criteria, CriteriaQuery criteriaQuery)`

Methods inherited from class org.hibernate.criterion.SubqueryExpression
`getTypes, toSqlString`

Methods inherited from class java.lang.Object
`clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait`

Constructor Detail

### SimpleSubqueryExpression

    protected SimpleSubqueryExpression(Object value,
                                       String op,
                                       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 interface `Criterion`
  Overrides:
    `getTypedValues` in class `SubqueryExpression`
  Parameters:
    `criteria` - TODO
  Returns:
    TypedValue[]
  Throws:
    `HibernateException`

### toLeftSqlString

    protected String toLeftSqlString(Criteria criteria,
                                     CriteriaQuery criteriaQuery)

  Specified by:
    `toLeftSqlString` in class `SubqueryExpression`

Overview | Package | Class | Use | Tree | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD