0 Replies Latest reply on Mar 11, 2010 12:43 PM by kanwar sangha

    xmltype gives error

    kanwar sangha Newbie


      When I did a seam-gen for an oracle table which has a data type defined as XMLType, seam generated the entity as follows -

      private Clob docContent;

      When I try to deploy, it gives the following error -

      Caused by: org.hibernate.HibernateException: Wrong column type in SNDB.ADDRBOOKXCAPDOC for column DOCCONTENT. Found: xmltype, expected: clob

      Any suggestions ?