title: Hibernate native query - char(3) column
body: <p>I have a table in Oracle where column SC_CUR_CODE is CHAR(3)</p>
  
  <p>When I do:</p>
  
  <pre><code>    Query q2 = em.createNativeQuery("select sc_cur_code, sc_amount from sector_costs");
  
      q2.setMaxResults(10);
  
      List&lt;Object[]&gt; rs2 = q2.getResultList();
  
      for (Object[] o : rs2) {
          System.out.println("&gt;&gt;&gt; cur=" + o[0]);
      }
  </code></pre>
  
  <p>I see <code>cur=E</code> and <code>cur=U</code> instead of <code>cur=EUR</code> and <code>cur=USD</code></p>
  
  <p><code>o[0]</code> is a java.lang.Character</p>
  
  <p>How can I get the full value <code>EUR</code> and <code>USD</code> ?</p>