I'm trying to work around http://jira.codehaus.org/browse/CASTOR-1365 by 
loading the independent objects in the same txn prior to calling db.create, but 
now I'm getting another error:
 
org.exolab.castor.jdo.ClassNotPersistenceCapableException: The class 
...Person$$EnhancerByCGLIB$$7166e6b7 is not persistence capable:
no mapping was defined for the class
        at 
org.exolab.castor.persist.PersistenceInfoGroup.getPersistenceInfo(PersistenceInfoGroup.java:67)
        at org.exolab.castor.jdo.engine.DatabaseImpl.load(DatabaseImpl.java:358)
        at org.exolab.castor.jdo.engine.DatabaseImpl.load(DatabaseImpl.java:328)
        at ...GolfRoundDetail.loadIndependentChildren(GolfRoundDetail.java:67)
 
The mapping file does indeed contain a definition for Person and it is being 
loaded successfully elsewhere in the application.  Werner had mentioned there 
were duplicate generated proxy classes...is this the underlying cause for this 
most recent error?
 
Thanks,
Jon
 
p.s. Suggestions about how to work-around bug #1365 are greatly appreciate!

-------------------------------------------------
If you wish to unsubscribe from this list, please 
send an empty message to the following address:

[EMAIL PROTECTED]
-------------------------------------------------

Reply via email to