0 Replies Latest reply on Apr 30, 2002 9:42 AM by Christoph Henrici

    CMP 2.0 & Oracle Clob Problem?

    Christoph Henrici Newbie

      I am using jboss-3.1.0alpha-28-04-02-19-00:

      I have a field defined in jbosscmp-jdbc.xml:

      <cmp-field>
      <field-name>outputXML</field-name>
      <jdbc-type>CLOB</jdbc-type>
      <sql-type>CLOB</sql-type>
      </cmp-field>

      And in the EntityBean the abstract setter / getter method:

      public abstract void setOutputXML(String output);
      public abstract String getOutputXML();

      The table get's created correctly. But the data is stored as hex values, whereas i would expect the data to get stored as character data.

      Did i get something wrong?

      Chris