Guillaume,

as we are using CGLIB internally, agreeing upon a solution that meets your 
requiremenst, this should not be too hard to achieve. Let's wait for your test 
case plus docs, and take it from there.

Werner

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

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

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

Reply via email to