Package | Description |
---|---|
javax.persistence.criteria |
Java Persistence Criteria API
|
Modifier and Type | Method and Description |
---|---|
<C,R> CriteriaBuilder.SimpleCase<C,R> |
CriteriaBuilder.selectCase(Expression<? extends C> expression)
Create a simple case expression.
|
CriteriaBuilder.SimpleCase<C,R> |
CriteriaBuilder.SimpleCase.when(C condition,
Expression<? extends R> result)
Add a when/then clause to the case expression.
|
CriteriaBuilder.SimpleCase<C,R> |
CriteriaBuilder.SimpleCase.when(C condition,
R result)
Add a when/then clause to the case expression.
|
Copyright © 1996-2017, Oracle and/or its affiliates. All Rights Reserved. Use is subject to license terms.