Hello all, In our framework we would like to use classes enhanced with cglib. I already asked you once if Castor could use a Factory to create object instances for this reason. I thought this object factory was the only thing needed for Castor to transparently manipulate dynamically generated classes. But I have one big problem left. Castor is looking, in the LockEngine class, for a type info corresponding to the enhanced class, and not to the original class.
For example, my jdo mapping describes the mapping of the class test.TestBean, but at runtime the implenting instance is called test.TestBean$$EnhancedByCglib...., and LockEngine can't find the corresponding TypeInfo (all that's needed would be to remove the $$ characters and what's following them). Is there any way (without modifying the LockEngine class) to make this work in Castor ? Hope my question makes sense to you. TIA, Guillaume