openjpa-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Ryan Cornia" <rcor...@myriad.com>
Subject XMLEncoder not working?
Date Thu, 13 Dec 2007 18:22:30 GMT
I am trying to call XMLEncoder on a JPA annotated object. It fails with:

java.lang.ClassNotFoundException:
org.apache.openjpa.enhance.com$myriad$common$persistence$db$Gene$pcsubclass

It seems to be trying to use reflection on the openjpa class, instead of my
POJO.

Anyone using XMLEnocder successfully? I would like to use it to create base
xml files I can re-load for testing. (Instead of doing testing against an
actual database, I want to load the objects from xml.)

Thanks,
Ryan



Mime
View raw message