Package | Description |
---|---|
org.hibernate.criterion |
A framework for defining restriction criteria and order criteria.
|
org.hibernate.envers.query.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(String propertyName,
String value,
MatchMode matchMode)
A case-insensitive "like", similar to Postgres ilike
operator
|
SimpleExpression |
Property.like(String value,
MatchMode matchMode) |
static SimpleExpression |
Restrictions.like(String propertyName,
String value,
MatchMode matchMode)
Apply a "like" constraint to the named property
|
Constructor and Description |
---|
IlikeExpression(String propertyName,
String value,
MatchMode matchMode) |
LikeExpression(String propertyName,
String value,
MatchMode matchMode) |
LikeExpression(String propertyName,
String value,
MatchMode matchMode,
Character escapeChar,
boolean ignoreCase) |
Modifier and Type | Method and Description |
---|---|
AuditCriterion |
AuditProperty.like(String value,
MatchMode matchMode)
Apply a "like" constraint
|
Copyright © 2002-2015 Red Hat Middleware, LLC. All Rights Reserved