Return-Path: Delivered-To: apmail-openjpa-users-archive@minotaur.apache.org Received: (qmail 59833 invoked from network); 6 Mar 2009 20:13:23 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 6 Mar 2009 20:13:23 -0000 Received: (qmail 22272 invoked by uid 500); 6 Mar 2009 20:13:22 -0000 Delivered-To: apmail-openjpa-users-archive@openjpa.apache.org Received: (qmail 22245 invoked by uid 500); 6 Mar 2009 20:13:22 -0000 Mailing-List: contact users-help@openjpa.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: users@openjpa.apache.org Delivered-To: mailing list users@openjpa.apache.org Received: (qmail 22229 invoked by uid 99); 6 Mar 2009 20:13:22 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 06 Mar 2009 12:13:22 -0800 X-ASF-Spam-Status: No, hits=0.2 required=10.0 tests=SPF_HELO_PASS,SPF_PASS,WHOIS_MYPRIVREG X-Spam-Check-By: apache.org Received-SPF: pass (nike.apache.org: domain of lists+1214986160035-208411@n2.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; Fri, 06 Mar 2009 20:13:13 +0000 Received: from tervel.nabble.com ([192.168.236.150]) by kuber.nabble.com with esmtp (Exim 4.63) (envelope-from ) id 1LfgPc-0006lW-Dc for users@openjpa.apache.org; Fri, 06 Mar 2009 12:12:52 -0800 Message-ID: <1236370372414-2437838.post@n2.nabble.com> Date: Fri, 6 Mar 2009 12:12:52 -0800 (PST) From: Jon Solanu To: users@openjpa.apache.org Subject: Re: ClassNotFoundException on persisting serialized class In-Reply-To: <1236359073474-2436888.post@n2.nabble.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Nabble-From: jsolanu@gmail.com References: <6e479eb30903051632v3c98eb9ek694c2f0b2bb76bea@mail.gmail.com> <1236354427197-2436442.post@n2.nabble.com> <1236359073474-2436888.post@n2.nabble.com> X-Virus-Checked: Checked by ClamAV on apache.org Pinaki Poddar wrote: > > You are annotating getter/setter, but their names do not match bean-style. > public com.MyData getMyData() {...} > public void setMetadataList(com.MyData myData) {...} > Miss typed it when posting. The problem ended up being that the object I was trying to insert was larger than 4000 characters. Adding the following to the persistence.xml fixed it. Its fairly odd that no errors were thrown when the data was flushed to the database, it just set the values to null and continued. -- View this message in context: http://n2.nabble.com/ClassNotFoundException-on-persisting-serialized-class-tp2433282p2437838.html Sent from the OpenJPA Users mailing list archive at Nabble.com.