The errors went away when I added an explicit em.flush to the method
inserting the serialized object. However a null is still being inserted
into the databse for that field. I attempted to change the attribute value
to specify that it was a blob field but that had no affect.
@Lob()
@Basic(fetch=FetchType.EAGER)
@Column(name="MYDATA_LIST")
public com.MyData getMyData() {
return this.myData;
}
public void setMetadataList(com.MyData myData) {
this.myData= myData;
}
--
View this message in context:
http://n2.nabble.com/ClassNotFoundException-on-persisting-serialized-class-tp2433282p2436442.html
Sent from the OpenJPA Users mailing list archive at Nabble.com.