Re: [OJB-developers] Re: MtoN-followup
Brought to you by:
thma
From: Oleg N. <on...@ib...> - 2002-06-06 15:08:07
|
Georg Schneider wrote: > hi Oleg, > if the CollectionDescriptor is added to the ClassDescriptor wouldn't that > lead to an error when the N-Object is materialized, because it would try > to set a non-existent Collection Field? Of course we should remember that the CollectionDescriptor was generated automatically and does not correspond to a field. Oleg > Cheers > Georg > On Thu, 6 Jun 2002, Oleg Nitz wrote: >> Georg Schneider wrote: >> > Hi Oleg, >> >> > You mean you would construct a CollectionDescriptor for the N-side and not >> > add it to the ClassDescriptor of the N-side? >> I mean that we wouldn't require CollectionDescriptor for the N-side in >> repository.xml, but we will generate it at runtime and add to >> ClassDescriptor in memory. >> >> Oleg >> >> >> > Cheers >> >> > Georg >> >> > On Thu, 6 Jun 2002, Oleg Nitz wrote: >> >> >> Hi Jacob and Georg, >> >> >> >> It is convenient to have bidirectional relationship for OJB internals >> >> (this makes things more uniform and simple), >> >> but it may be inconvenient for user. >> >> I propose the following trick: if there is no inverse relationship we >> >> generate it automatically. We may even allow user to use it in query >> >> conditions. For example "~rel" would mean inverse relation for "rel". >> >> What do you think? >> >> >> >> Oleg >> >> >> >> Georg Schneider wrote: >> >> > Hi jacob, >> >> >> >> > Could you give me the basic reason for that requirement or please point me >> >> > to your discussion with Oleg (I missed that one :-) ). >> >> > Nevertheless I think that this is quite a big intrusion into the java code >> >> > and since all of the information needed is already in the >> >> > CollectionDescriptor of the M-side, I don't see a reason for doing it. >> >> >> >> > Cheers >> >> >> >> > Georg >> >> >> >> >> >> >> >> > _______________________________________________________________ >> >> >> >> > Don't miss the 2002 Sprint PCS Application Developer's Conference >> >> > August 25-28 in Las Vegas -- http://devcon.sprintpcs.com/adp/index.cfm >> >> >> >> > _______________________________________________ >> >> > Objectbridge-developers mailing list >> >> > Obj...@li... >> >> > https://lists.sourceforge.net/lists/listinfo/objectbridge-developers >> >> >> >> >> >> >> >> _______________________________________________________________ >> >> >> >> Don't miss the 2002 Sprint PCS Application Developer's Conference >> >> August 25-28 in Las Vegas -- http://devcon.sprintpcs.com/adp/index.cfm >> >> >> >> _______________________________________________ >> >> Objectbridge-developers mailing list >> >> Obj...@li... >> >> https://lists.sourceforge.net/lists/listinfo/objectbridge-developers >> >> >> >> >> > _______________________________________________________________ >> >> > Don't miss the 2002 Sprint PCS Application Developer's Conference >> > August 25-28 in Las Vegas -- http://devcon.sprintpcs.com/adp/index.cfm >> >> > _______________________________________________ >> > Objectbridge-developers mailing list >> > Obj...@li... >> > https://lists.sourceforge.net/lists/listinfo/objectbridge-developers >> >> >> >> _______________________________________________________________ >> >> Don't miss the 2002 Sprint PCS Application Developer's Conference >> August 25-28 in Las Vegas -- http://devcon.sprintpcs.com/adp/index.cfm >> >> _______________________________________________ >> Objectbridge-developers mailing list >> Obj...@li... >> https://lists.sourceforge.net/lists/listinfo/objectbridge-developers >> > _______________________________________________________________ > Don't miss the 2002 Sprint PCS Application Developer's Conference > August 25-28 in Las Vegas -- http://devcon.sprintpcs.com/adp/index.cfm > _______________________________________________ > Objectbridge-developers mailing list > Obj...@li... > https://lists.sourceforge.net/lists/listinfo/objectbridge-developers |