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(java.lang.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(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)
Deprecated.
|
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) |
Modifier and Type | Method and Description |
---|---|
AuditCriterion |
AuditProperty.like(java.lang.String value,
MatchMode matchMode)
Apply a "like" constraint
|
Copyright © 2001-2012 Red Hat, Inc. All Rights Reserved.