openjpa-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From saravanan_tvm <>
Subject Problem with clob data type in JPA
Date Thu, 26 Jul 2007 08:40:12 GMT


      By including one clob column i am facing below problem.
      This is my code present in the entity for clob column...
    @Basic(fetch = FetchType.EAGER )
    private Clob customData;

Can anybody tell me how to solve this problem?

Exception [TOPLINK-32] (Oracle TopLink Essentials - 2.0 (Build b48-beta3
2007))): oracle.toplink.essentials.exceptions.DescriptorException
Exception Description: Trying to set value [It is old drug] for instance
e [customData] of type [java.sql.Clob] in the object.  The specified object
is n
ot an instance of the class or interface declaring the underlying field, or
an u
nwrapping conversion has failed.
Internal Exception: java.lang.IllegalArgumentException
View this message in context:
Sent from the OpenJPA Developers mailing list archive at

View raw message