Re: Re: Casting an Object to a subclass

2004-02-16 Thread BIRGITTA . MOEHRING
Hello, thanks for considering. So far I had no problems using the (anonymous) primary key for the join of the tables. However, I changed the example so that it worked without the anonymous - attribute, like is is recommended in tutorial 3 (mapping classes on multiple joined tables). The

Re: Re: Casting an Object to a subclass

2004-02-16 Thread BIRGITTA . MOEHRING
Gotcha! I have to define the child in the parent class as an extend! Now it all works just fine (even with anonymous keys ;-) )! Thank you all for OJB, this wonderful product! Birgitta

Re: Casting an Object to a subclass

2004-02-16 Thread Armin Waibel
Hi Birgitta, [EMAIL PROTECTED] wrote: Gotcha! I have to define the child in the parent class as an extend! Now it all works just fine (even with anonymous keys ;-) )! Great! Like those posting best ;-) Using anonymous keys outside of a 1:1 reference will work if your persistence capable