array(selections) - JPA CriteriaBuilder's method

Create an array-valued selection item.
Parameters:
selections - selection items
Returns:
array-valued compound selection
Throws:
IllegalArgumentException - if an argument is a tuple- or array-valued selection item
Since:
JPA 2.0