Package | Description |
---|---|
org.hibernate.criterion |
A framework for defining restriction criteria and order criteria.
|
Modifier and Type | Field and Description |
---|---|
static MatchMode |
MatchMode.ANYWHERE
Match the pattern anywhere in the string
|
static MatchMode |
MatchMode.END
Match the end of the string to the pattern
|
static MatchMode |
MatchMode.EXACT
Match the entire string to the pattern
|
static MatchMode |
MatchMode.START
Match the start of the string to the pattern
|
Modifier and Type | Method and Description |
---|---|
Example |
Example.enableLike(MatchMode matchMode)
Use the "like" operator for all string-valued properties
|
static Criterion |
Restrictions.ilike(java.lang.String propertyName,
java.lang.String value,
MatchMode matchMode)
A case-insensitive "like", similar to Postgres ilike
operator
|
SimpleExpression |
Property.like(java.lang.String value,
MatchMode matchMode) |
static SimpleExpression |
Restrictions.like(java.lang.String propertyName,
java.lang.String value,
MatchMode matchMode)
Apply a "like" constraint to the named property
|
Constructor and Description |
---|
IlikeExpression(java.lang.String propertyName,
java.lang.String value,
MatchMode matchMode) |
LikeExpression(java.lang.String propertyName,
java.lang.String value,
MatchMode matchMode) |
LikeExpression(java.lang.String propertyName,
java.lang.String value,
MatchMode matchMode,
java.lang.Character escapeChar,
boolean ignoreCase) |
Copyright © 2014. All Rights Reserved.