Package | Description |
---|---|
org.hibernate.criterion |
A framework for defining restriction criteria and order criteria.
|
org.hibernate.envers.query.criteria |
Modifier and Type | Method and Description |
---|---|
static MatchMode |
MatchMode.valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static MatchMode[] |
MatchMode.values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
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) using the provided match mode
|
SimpleExpression |
Property.like(String value,
MatchMode matchMode)
Creates a LIKE restriction for this property
|
static SimpleExpression |
Restrictions.like(String propertyName,
String value,
MatchMode matchMode)
Apply a "like" constraint to the named property using the provided match mode
|
Constructor and Description |
---|
IlikeExpression(String propertyName,
String value,
MatchMode matchMode)
Deprecated.
|
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.ilike(String value,
MatchMode matchMode)
Apply an "ilike" constraint
|
AuditCriterion |
AuditProperty.like(String value,
MatchMode matchMode)
Apply a "like" constraint
|
Copyright © 2017 JBoss by Red Hat. All rights reserved.