Uses of Interface
org.apache.openjpa.persistence.criteria.ComparisonStyle
-
Packages that use ComparisonStyle Package Description org.apache.openjpa.persistence.criteria OpenJPA Criteria Query -
-
Uses of ComparisonStyle in org.apache.openjpa.persistence.criteria
Classes in org.apache.openjpa.persistence.criteria that implement ComparisonStyle Modifier and Type Class Description static class
ComparisonStyle.Default
Default implementation.Methods in org.apache.openjpa.persistence.criteria that return ComparisonStyle Modifier and Type Method 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.Default. setDisjunction(boolean flag)
ComparisonStyle
ComparisonStyle. setDisjunction(boolean flag)
Sets whether the comparison to OR the attribute comparisons.ComparisonStyle
ComparisonStyle.Default. setExcludeDefault(boolean flag)
ComparisonStyle
ComparisonStyle. setExcludeDefault(boolean flag)
Sets whether the comparison excludes default-valued attributes.ComparisonStyle
ComparisonStyle.Default. setExcludeIdentity(boolean flag)
ComparisonStyle
ComparisonStyle. setExcludeIdentity(boolean flag)
Sets whether the comparison excludes identity attribute.ComparisonStyle
ComparisonStyle.Default. setExcludeNull(boolean flag)
ComparisonStyle
ComparisonStyle. setExcludeNull(boolean flag)
Sets whether the comparison excludes null-valued attributes.ComparisonStyle
ComparisonStyle.Default. setExcludeVersion(boolean flag)
ComparisonStyle
ComparisonStyle. setExcludeVersion(boolean flag)
Sets whether the comparison excludes version attribute.ComparisonStyle
ComparisonStyle.Default. setStringComparisonMode(ComparisonStyle.StringComparisonMode mode)
ComparisonStyle
ComparisonStyle. setStringComparisonMode(ComparisonStyle.StringComparisonMode mode)
Sets the comparison mode for String-valued attributes.Methods in org.apache.openjpa.persistence.criteria with parameters of type ComparisonStyle Modifier and Type Method Description <T> jakarta.persistence.criteria.Predicate
CriteriaBuilderImpl. qbe(jakarta.persistence.criteria.From<?,T> from, T example, ComparisonStyle style)
<T> jakarta.persistence.criteria.Predicate
CriteriaBuilderImpl. qbe(jakarta.persistence.criteria.From<?,T> from, T example, ComparisonStyle style, jakarta.persistence.metamodel.Attribute<?,?>... excludes)
Create a predicate based upon the attribute values of a given "example" entity instance.<T> jakarta.persistence.criteria.Predicate
OpenJPACriteriaBuilder. qbe(jakarta.persistence.criteria.From<?,T> from, T example, ComparisonStyle style)
Overloaded with no extra attribute to exclude.<T> jakarta.persistence.criteria.Predicate
OpenJPACriteriaBuilder. qbe(jakarta.persistence.criteria.From<?,T> from, T example, ComparisonStyle style, jakarta.persistence.metamodel.Attribute<?,?>... excludes)
Create a predicate based upon the attribute values of a given "example" entity instance.
-