column « Seam « JPA Q&A





1. Hibernate native query - char(3) column    stackoverflow.com

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);

    ...