title: Clob to String using hibernate and Oracle
body: <p>I am having difficulty while reading from oracle database using hibernate. The column is of clob type and mapped class property is of String type. The database is Oracle 11G. I have tried to update my driver as suggested by some posts, But it was of no use. The problem is that All other columns(which are not clob) are read properly and the column which is clob is returned null besides it has data. Thanks in advance. </p>
  
  <p>The query is :</p>
  
  <p><strong>select id,about_us,other_details,periodicity,active,createts,updatets from Details where id = ?</strong></p>
  
  <p>This above the HQL query where about_us and other_details are clob type in database. The java entity contains it as type String.</p>
  
  <p>Rahul</p>