Hi all, I use cglib intensively in my project, and use Castor-JDO/XML to persist cglib-enhanced classes. I use a modified version of the castor-0.96 release because castor won't let me persist enhanced classes (their names contain the $$EnhancedByCGLIB$$... suffix, and the LockEngine class that I modified removes this suffix).
I have thought about a better solution. Castor could use the super-class mapping information when mapping information for a class is not found. For example you have a base class A which is described in the JDO mapping file, and have another class CA which extends A. (CA is not described in the mapping file). If you try to persist the CA class, castor will fail saying that CA is not persistence capable. Could it be possible that castor uses mapping information of the A class in this case ? I already posted once about this subject, and will provide proper test cases and patches if required (the class to patch is LockEngine, when doing lookups in the _typeInfo map). Thanks in advance for your time, Guillaume Serre ------------------------------------------------- If you wish to unsubscribe from this list, please send an empty message to the following address: [EMAIL PROTECTED] -------------------------------------------------