actually I want to direct take as Bean from NativeQuery
suppose we have one table Employee in that have firstName,lastName, email, age,salary, So i want Specific column like firstName,lastName,email with native query , but I don't want take Object[]
for specific field,
it possible to convert direct bean without using Object[]
I don't want examle:-
List<Object[]> = em.createNativeQuery(" select first_name, last_name, email from employee").getResultList();
if you have better idea to get as beans so please share with us
Thanks