Thomas Dudziak dijo:
> On Fri, 19 Dec 2003, Antonio Gallardo wrote:
>
>> Thomas Dudziak dijo:
>> > Ah I see. Well, in the XDoclet module at least I could ensure that the
>> > foreignkeys/inverse-foreignkeys are in the same order as the
>> primarykeys.
>>
>> Hmm. I understand, we can have in a automatic tool a "sort" function
>> that
>> would allow us a predefined order. But as was pointed before we cannot
>> rely on the position of the keys. It is not AFAIK OO or Relational at
>> all.
>>
>> I think we need to fix it in OJB.
>
> I guess so. Since OJB can derive the correct ordering from the target
> class descriptor, the same sorting could be added to OJB. Also, this
> probably can be done at startup avoiding additional costs when accessing
> the collection/reference.

To be honest I don't saw it in the way you described above. But it looks
like a great idea! It would solve the problem at all. :-D

Best Regards,

Antonio Gallardo


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

Reply via email to