public class HibernateCriterionHelper extends Object
Constructor and Description |
---|
HibernateCriterionHelper() |
Modifier and Type | Method and Description |
---|---|
static org.hibernate.criterion.LikeExpression |
getLikeExpression(String propertyName,
String value,
org.hibernate.criterion.MatchMode matchMode,
Character escapeChar,
boolean ignoreCase)
Create Hibernate LikeExpression from values
|
public static org.hibernate.criterion.LikeExpression getLikeExpression(String propertyName, String value, org.hibernate.criterion.MatchMode matchMode, Character escapeChar, boolean ignoreCase)
propertyName
- Property namevalue
- Requested query valuematchMode
- Match modeescapeChar
- Escape charignoreCase
- Ignore case sensitivityCopyright © 2012-2014 52north.org. All Rights Reserved.