HI,
I have query like this
final Query contractQuery = cgnDao.getEntityManager().
createNativeQuery("SELECT k.phrase, ak.type FROM key k INNER JOIN adkey ak USING (key_id) WHERE pck.pub_id =" + pid +" AND pck.c_id =" + campId );
How can i get each and every element from the query?
Where phrase is an String and type is enum
in Java
Thanks