as(type) - JPA Expression's method
Method javax.persistence.criteria.Expression
Expression<X> as(
Class<X> type
)
- Parameters:
-
type
- intended type of the expression
- Returns:
- new expression of the given type
- Since:
- JPA 2.0