You are viewing a plain text version of this content. The canonical link for it is here.
Posted to ojb-dev@db.apache.org by "Weaver, Scott" <Sw...@rippe.com> on 2003/06/24 20:21:13 UTC

[PATCH] DescriptorRepository now respects non-mapped object inher itence

This patch addresses the issue of sub-classes of mapped classes not being recognized as persistence capable unless specifically added to the descriptor repository.  With this patch, if a class is not specifically mapped, its ancestor class is checked for a mapping.  This is done recursively until either a mapping is found or the parent object is of type java.lang.Object.  If a mapping is found it is recorded on the descriptorTable for the initial class.  If no mapping is found, null is returned.

Let me know if there are any problems or concerns with this patch.

Thanks,  
*===================================*
* Scott T Weaver                    *
* Jakarta Jetspeed Portal Project   *
* weaver@apache.org                 *
*===================================*