From dev-return-5090-apmail-openjpa-dev-archive=openjpa.apache.org@openjpa.apache.org Thu Jul 26 08:40:36 2007 Return-Path: Delivered-To: apmail-openjpa-dev-archive@www.apache.org Received: (qmail 1025 invoked from network); 26 Jul 2007 08:40:35 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 26 Jul 2007 08:40:35 -0000 Received: (qmail 29184 invoked by uid 500); 26 Jul 2007 08:40:36 -0000 Delivered-To: apmail-openjpa-dev-archive@openjpa.apache.org Received: (qmail 29033 invoked by uid 500); 26 Jul 2007 08:40:36 -0000 Mailing-List: contact dev-help@openjpa.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@openjpa.apache.org Delivered-To: mailing list dev@openjpa.apache.org Received: (qmail 29024 invoked by uid 99); 26 Jul 2007 08:40:36 -0000 Received: from herse.apache.org (HELO herse.apache.org) (140.211.11.133) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 26 Jul 2007 01:40:36 -0700 X-ASF-Spam-Status: No, hits=1.1 required=10.0 tests=FORGED_YAHOO_RCVD,FROM_HAS_ULINE_NUMS,SPF_HELO_PASS,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (herse.apache.org: domain of lists@nabble.com designates 216.139.236.158 as permitted sender) Received: from [216.139.236.158] (HELO kuber.nabble.com) (216.139.236.158) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 26 Jul 2007 01:40:32 -0700 Received: from isper.nabble.com ([192.168.236.156]) by kuber.nabble.com with esmtp (Exim 4.63) (envelope-from ) id 1IDytI-0003Q4-3B for dev@openjpa.apache.org; Thu, 26 Jul 2007 01:40:12 -0700 Message-ID: <11806438.post@talk.nabble.com> Date: Thu, 26 Jul 2007 01:40:12 -0700 (PDT) From: saravanan_tvm To: dev@openjpa.apache.org Subject: Problem with clob data type in JPA MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Nabble-From: skumar_rect2000@yahoo.com X-Virus-Checked: Checked by ClamAV on apache.org Hi, By including one clob column i am facing below problem. This is my code present in the entity for clob column... @Lob @Basic(fetch = FetchType.EAGER ) @Column(name="FIELD_DATA") private Clob customData; Can anybody tell me how to solve this problem? Exception [TOPLINK-32] (Oracle TopLink Essentials - 2.0 (Build b48-beta3 (05/23/ 2007))): oracle.toplink.essentials.exceptions.DescriptorException Exception Description: Trying to set value [It is old drug] for instance variabl 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: http://www.nabble.com/Problem-with-clob-data-type-in-JPA-tf4150168.html#a11806438 Sent from the OpenJPA Developers mailing list archive at Nabble.com.