Package | Description |
---|---|
org.apache.openjpa.persistence.criteria |
OpenJPA Criteria Query
This package provides an implementation of Criteria API in JPA 2.0 Specification
and extended features such as Query-By-Example.
|
Modifier and Type | Class and Description |
---|---|
static class |
ComparisonStyle.Default
Default implementation.
|
Modifier and Type | Method and Description |
---|---|
ComparisonStyle |
CriteriaBuilderImpl.qbeStyle()
Create a style to tune different aspects of comparison by example.
|
ComparisonStyle |
OpenJPACriteriaBuilder.qbeStyle()
Create a mutable style to apply on query-by-example.
|
ComparisonStyle |
ComparisonStyle.setDisjunction(boolean flag)
Sets whether the comparison to OR the attribute comparisons.
|
ComparisonStyle |
ComparisonStyle.Default.setDisjunction(boolean flag) |
ComparisonStyle |
ComparisonStyle.setExcludeDefault(boolean flag)
Sets whether the comparison excludes default-valued attributes.
|
ComparisonStyle |
ComparisonStyle.Default.setExcludeDefault(boolean flag) |
ComparisonStyle |
ComparisonStyle.setExcludeIdentity(boolean flag)
Sets whether the comparison excludes identity attribute.
|
ComparisonStyle |
ComparisonStyle.Default.setExcludeIdentity(boolean flag) |
ComparisonStyle |
ComparisonStyle.setExcludeNull(boolean flag)
Sets whether the comparison excludes null-valued attributes.
|
ComparisonStyle |
ComparisonStyle.Default.setExcludeNull(boolean flag) |
ComparisonStyle |
ComparisonStyle.setExcludeVersion(boolean flag)
Sets whether the comparison excludes version attribute.
|
ComparisonStyle |
ComparisonStyle.Default.setExcludeVersion(boolean flag) |
ComparisonStyle |
ComparisonStyle.setStringComparisonMode(ComparisonStyle.StringComparisonMode mode)
Sets the comparison mode for String-valued attributes.
|
ComparisonStyle |
ComparisonStyle.Default.setStringComparisonMode(ComparisonStyle.StringComparisonMode mode) |
Modifier and Type | Method and Description |
---|---|
<T> javax.persistence.criteria.Predicate |
CriteriaBuilderImpl.qbe(javax.persistence.criteria.From<?,T> from,
T example,
ComparisonStyle style) |
<T> javax.persistence.criteria.Predicate |
OpenJPACriteriaBuilder.qbe(javax.persistence.criteria.From<?,T> from,
T example,
ComparisonStyle style)
Overloaded with no extra attribute to exclude.
|
<T> javax.persistence.criteria.Predicate |
CriteriaBuilderImpl.qbe(javax.persistence.criteria.From<?,T> from,
T example,
ComparisonStyle style,
javax.persistence.metamodel.Attribute<?,?>... excludes)
Create a predicate based upon the attribute values of a given
"example" entity instance.
|
<T> javax.persistence.criteria.Predicate |
OpenJPACriteriaBuilder.qbe(javax.persistence.criteria.From<?,T> from,
T example,
ComparisonStyle style,
javax.persistence.metamodel.Attribute<?,?>... excludes)
Create a predicate based upon the attribute values of a given
"example" entity instance.
|
Copyright © 2006–2022 Apache Software Foundation. All rights reserved.