get(i, type) - JPA Tuple's method
Method javax.persistence.Tuple
X get(
int i,
Class<X> type
)
- Parameters:
-
i
- position in result tuple -
type
- type of the tuple element
- Returns:
- value of the tuple element
- Throws:
-
IllegalArgumentException
- if i exceeds length of result tuple or element cannot be assigned to the specified type
- Since:
- JPA 2.0