alias(name) - JPA Selection's method
Method javax.persistence.criteria.Selection
Selection<X> alias(
String name
)
Assigns an alias to the selection item. Once assigned, an alias cannot be changed or reassigned. Returns the same selection item.
- Parameters:
-
name
- alias
- Returns:
- selection item
- Since:
- JPA 2.0