org.hibernate.criterion
Class NotNullExpression
java.lang.Object
org.hibernate.criterion.NotNullExpression
- All Implemented Interfaces:
- java.io.Serializable, Criterion
public class NotNullExpression
- extends java.lang.Object
- implements Criterion
Constrains a property to be non-null
- Author:
- Gavin King
- See Also:
- Serialized Form
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
NotNullExpression
protected NotNullExpression(java.lang.String propertyName)
toSqlString
public java.lang.String toSqlString(Criteria criteria,
CriteriaQuery criteriaQuery)
throws HibernateException
- Description copied from interface:
Criterion
- Render the SQL fragment
- Specified by:
toSqlString
in interface Criterion
- Parameters:
criteria
- The local criteriacriteriaQuery
- The overal criteria query
- Returns:
- The generated SQL fragment
- Throws:
HibernateException
- Problem during rendering.
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
- Parameters:
criteria
- The local criteriacriteriaQuery
- The overal criteria query
- Returns:
- The types values (for binding)
- Throws:
HibernateException
- Problem determining types.
toString
public java.lang.String toString()
- Overrides:
toString
in class java.lang.Object
Copyright © 2008 Hibernate.org. All Rights Reserved.