I am getting a list of Object array
Query query =JPA.em().getNativeQuery(query);
List <Answer> listAnswer= query.getresultlist(); // here I am getting
list of object array
and so on till 1501 record
Now I want to customize this list into my own custom version which is type of answer class... Previously i was using naming query which is giving me TypedQuery and Answer type list in result... how could I do this... I tried to iterate this list of object array and add it to my own custom class list but no luck..