General rule is the following:
- If
selectcontains single expression and it’s an entity, then result is that entity - If
selectcontains single expression and it’s a primitive, then result is that primitive - If
selectcontains multiple expressions, then result isObject[]containing the corresponding primitives/entities
So, in your case list is a List<Object[]>.