Hi,If I use the following request SELECT a FROM A a, I got a List<A> witch is perfectly fine. If I use SELECT a.attribute1, a.attribute2 FROM A a, I got a List<Object[]> where each List element is an array of 2 values for attribute1 and attribute2.
How can I have a List<A> where only attribute1 and attribute2 are set instead of that List<Object[]> ?
