org.hibernate.criterion

Class IlikeExpression

Implemented Interfaces:
Criterion, Serializable

public class IlikeExpression
extends java.lang.Object
implements Criterion

A case-insensitive "like"
Author:
Gavin King

Constructor Summary

IlikeExpression(String propertyName, Object value)
IlikeExpression(String propertyName, String value, MatchMode matchMode)

Method Summary

TypedValue[]
getTypedValues(Criteria criteria, CriteriaQuery criteriaQuery)
String
toSqlString(Criteria criteria, CriteriaQuery criteriaQuery)
String
toString()

Constructor Details

IlikeExpression

protected IlikeExpression(String propertyName,
                          Object value)

IlikeExpression

protected IlikeExpression(String propertyName,
                          String value,
                          MatchMode matchMode)

Method Details

getTypedValues

public TypedValue[] getTypedValues(Criteria criteria,
                                   CriteriaQuery criteriaQuery)
            throws HibernateException
Specified by:
getTypedValues in interface Criterion

toSqlString

public String toSqlString(Criteria criteria,
                          CriteriaQuery criteriaQuery)
            throws HibernateException
Specified by:
toSqlString in interface Criterion

toString

public String toString()