I have a table in Oracle where column SC_CUR_CODE is CHAR(3) When I do:
Query q2 = em.createNativeQuery("select sc_cur_code, sc_amount from sector_costs"); q2.setMaxResults(10); ...