[prev in list] [next in list] [prev in thread] [next in thread] 

List:       ojb-user
Subject:    Re: Mapping Classes on Multiple Joined Tables
From:       Jakob Braeuchi <jbraeuchi () gmx ! ch>
Date:       2005-04-21 17:04:57
Message-ID: 4267DD39.3060706 () gmx ! ch
[Download RAW message or body]

hi armin,

Armin Waibel schrieb:
> Stefan Walkner wrote:
> 
>> hello,
>>
>>
>>> we start working on this issue. Hope till next release this will be 
>>> fixed.
>>
>>
>> thank you for the info!
>> I really was searching long and was not able to find any information 
>> about that, so I'm glad to hear any response from you.
>>
> 
> The issue is noted in the release-notes:
> 
> <snip>
> - When a class mapped on multiple joined tables was used in a reference 
> only objects
>   of the base type class will be instantiated, e.g. a Company class has
>   a 1:n reference 'employees' to a base class Employee and class Manager 
> extends Employee,
>   then 'employees' only contains objects of type Employee even if the 
> real type was Manager.
>   See in OJB test suite 
> ...broker.InheritanceMultipleTableTest#testInheritancedObjectsInCollectionReferences 
> 
>   Same problem occur when query the base class, then OJB only returns 
> objects of base type instead
>   the real type.
> </snip>
> 
> But I admit my English is abstruse ;-)

you're right, i do not understand it :(

jakob

> 
> regards,
> Armin
> 
> 
> 
>> Thank you,
>> stefan walkner
>>
>> ---------------------------------------------------------------------
>> To unsubscribe, e-mail: ojb-user-unsubscribe@db.apache.org
>> For additional commands, e-mail: ojb-user-help@db.apache.org
>>
>>
>>
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: ojb-user-unsubscribe@db.apache.org
> For additional commands, e-mail: ojb-user-help@db.apache.org
> 
> 

---------------------------------------------------------------------
To unsubscribe, e-mail: ojb-user-unsubscribe@db.apache.org
For additional commands, e-mail: ojb-user-help@db.apache.org

[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic