title: Oracle Char type and Hibernate
body: <p>I have a oracle table which contains char(n) type for several columns. I use hibernate tools to create entities objets and this tool map char type in String.</p>
  
  <p>But when I deploy my application, I get an error because Hibernate wait a varchar2 type and not a char type:</p>
  
  <pre><code>Wrong column type in ARBOR.CMF for column CHG_WHO. Found: char, expected: varchar2(30 char)
  </code></pre>
  
  <p>What kind of java type must I use to map char(n) type in an entity ?</p>
  
  <p>Thanks.</p>