Package | Description |
---|---|
org.hibernate.criterion |
A framework for defining restriction criteria and order criteria.
|
Modifier and Type | Method and Description |
---|---|
static Example |
Example.create(Object exampleEntity)
Create a new Example criterion instance, which includes all non-null properties by default
|
Example |
Example.enableLike()
Use the "like" operator for all string-valued properties.
|
Example |
Example.enableLike(MatchMode matchMode)
Use the "like" operator for all string-valued properties
|
Example |
Example.excludeNone()
Include all properties.
|
Example |
Example.excludeProperty(String name)
Exclude a particular property by name.
|
Example |
Example.excludeZeroes()
Exclude zero-valued properties.
|
Example |
Example.ignoreCase()
Ignore case for all string-valued properties
|
Example |
Example.setEscapeCharacter(Character escapeCharacter)
Set escape character for "like" clause if like matching was enabled
|
Example |
Example.setPropertySelector(Example.PropertySelector selector)
Set the property selector to use.
|
Copyright © 2019 JBoss by Red Hat. All rights reserved.