My question is based on another post. How can I achieve the same with a native query? Native queries do not allow JPQL thus do not allow new instances either.
My POJ
You will have to use sql result set mapping which is part of JPA.