I ran into an ordering problem in 0.9.4 that affects mapped classes that use
'extends' :
This works:
-------------------------------------------------
<class name = "org.foo.Party">
<!-- munch -->
</class>
<class name = "org.foo.Organization" extends = "org.foo.Party">
<!-- munch -->
</class>
This doesn't:
-------------------------------------------------
<class name = "org.foo.Organization" extends = "org.foo.Party">
<!-- munch -->
</class>
<class name = "org.foo.Party">
<!-- munch -->
</class>
In example 2, Castor's MappingLoader fails to find Party in the _clsDescs
Hashtable because it hasn't been loaded yet. This is only because Party
appears in the map after Organization rather than before. It is easy to
work around, but I'm guessing it shouldn't be this fragile.
PS. This is the second order-related 'extends' issue I'm aware of, the other
being Ben Wong's recent "Order of XML Marshalling" difficulty.
-----------------------------------------------------------
If you wish to unsubscribe from this mailing, send mail to
[EMAIL PROTECTED] with a subject of:
unsubscribe castor-dev