Thomas Dudziak wrote:
I wasn't aware that reference descriptors can be inherited !
The problem is that they can't ;-)
But to make the "Mapping Classes on Multiple Joined Tables" feature full compatible we need inheritance of references in this case or the possibility to resolve the path to the reference.
Is this somewhere in the docs ? I gotta check if this should be handled by the XDoclet module ...
I will add a known issue note to release-notes, because I don't think we will be able to fix this before final 1.0.
regards, Armin
Keith, please ignore my post then ;-)
Tom
On Wed, 7 Apr 2004, Armin Waibel wrote:
Hi Keith,
this is a known issue (sorry forget to answer your previous post). I checked in a test called InheritanceMultipleTableTest#testQuery_InheritedReference a few days ago.
I don't know a workaround for this problem. If you declare the reference in the sub-class Person too you have to modify the sub-class table and this will cause side-effects if you want all User with a specific status.
The problem is that the path "userStatus.name" could not be resolved by SqlGeneratorDefaultImpl.
regards, Armin
--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
