JPA Method
in 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
Return:
selection item
Since:
JPA 2.0