openjpa-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Jon Solanu <jsol...@gmail.com>
Subject Re: ClassNotFoundException on persisting serialized class
Date Fri, 06 Mar 2009 20:12:52 GMT


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.

<property name="openjpa.jdbc.DBDictionary"
value="oracle(maxEmbeddedBlobSize=-1,maxEmbeddedClobSize=-1)"/>
-- 
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.


Mime
View raw message