Package | Description |
---|---|
org.hibernate.criterion |
A framework for defining restriction criteria and order criteria.
|
Modifier and Type | Method and Description |
---|---|
SimpleExpression |
Property.eq(Object value)
Creates an equality restriction.
|
static SimpleExpression |
Restrictions.eq(String propertyName,
Object value)
Apply an "equal" constraint to the named property
|
SimpleExpression |
Property.ge(Object value)
Create a greater-than-or-equal-to restriction based on this property
|
static SimpleExpression |
Restrictions.ge(String propertyName,
Object value)
Apply a "greater than or equal" constraint to the named property
|
SimpleExpression |
Property.gt(Object value)
Create a greater-than restriction based on this property
|
static SimpleExpression |
Restrictions.gt(String propertyName,
Object value)
Apply a "greater than" constraint to the named property
|
SimpleExpression |
SimpleExpression.ignoreCase()
Make case insensitive.
|
SimpleExpression |
Property.le(Object value)
Create a less-than-or-equal-to restriction based on this property
|
static SimpleExpression |
Restrictions.le(String propertyName,
Object value)
Apply a "less than or equal" constraint to the named property
|
SimpleExpression |
Property.like(Object value)
Creates a LIKE restriction for this property
|
SimpleExpression |
Property.like(String value,
MatchMode matchMode)
Creates a LIKE restriction for this property
|
static SimpleExpression |
Restrictions.like(String propertyName,
Object value)
Apply a "like" constraint to the named property
|
static SimpleExpression |
Restrictions.like(String propertyName,
String value,
MatchMode matchMode)
Apply a "like" constraint to the named property using the provided match mode
|
SimpleExpression |
Property.lt(Object value)
Create a less-than restriction based on this property
|
static SimpleExpression |
Restrictions.lt(String propertyName,
Object value)
Apply a "less than" constraint to the named property
|
SimpleExpression |
Property.ne(Object value)
Creates a non-equality restriction.
|
static SimpleExpression |
Restrictions.ne(String propertyName,
Object value)
Apply a "not equal" constraint to the named property
|
Copyright © 2019 JBoss by Red Hat. All rights reserved.