Thomas Dudziak <tomdzk <at> gmail.com> writes:

> 
> Oh, missed that one.
> Again I recommend that you use the XDoclet module (bit of a shameless
> plug  ) - you would have gotten an error message when redefining a
> field with a different type.
> 
> Tom
> 


Tom

But CreditDefaultSwap is not a sub-class of BBGBondModel (and vice 
versa)...they are on different branches of the inheritance hierarchy.

I did not have a problem with this when I had each instrument type in it's own 
table. The error happens because OJB "thinks" that it has an instanceof 
BBGBondModel when it in fact has an instanceof CreditDefaultSwap...

I suppose I can fudge it somehow.

Once again, many thanks

Mark


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to