Re: bad sql on n-m relation to subclassed object

2006-03-10 Thread delahaye\.nicolas
ists, could yu please post a testcase so i can > try to reproduce it. > > thanks > jakob > > DELAHAYE Nicolas schrieb: > > hi Jakob Braeuchi > > > > I have this model : > > > > A link to A > > B, C, and D that inherit of A > > > > when

Re: bad sql on n-m relation to subclassed object

2006-01-19 Thread DELAHAYE Nicolas
: hi nicolas, you say A links to A. how is this done ? shouldn't there be a idreftoA in A as well ? jakob DELAHAYE Nicolas schrieb: hi Jakob Braeuchi I have this model : A link to A B, C, and D that inherit of A when i would like retreive a object A by findObjectByIdentity, the left out

Re: bad sql on n-m relation to subclassed object

2006-01-18 Thread DELAHAYE Nicolas
hi Jakob Braeuchi I have this model : A link to A B, C, and D that inherit of A when i would like retreive a object A by findObjectByIdentity, the left out join make a link on A.id = A.idreftoA for each inherited classes. idreftoA is define as primary key and foreigner key of inherited classe

Re: Re: bad sql on n-m relation to subclassed object

2006-01-10 Thread delahaye\.nicolas
Hi jakob, Ok, it is working with 1.0.4. But if i want retreive the super class alone, a wrong SLQ query is made, I have seen on the forum that is a bug. My question is : do you know if this defect will be fixed on 1.0.5 ? Best regards Nicolas DELAHAYE >hi nicolas, > >ojb just release 1.0.4. coul

Re: bad sql on n-m relation to subclassed object

2006-01-05 Thread DELAHAYE Nicolas
Sorry for multi posting, Otherwise, the version we use is 1.03 Jakob Braeuchi wrote: hi nicolas, i recommend not to cross-post, and to post the same message only once ;) further i recommend to tell us the version of ojb you're using. thank jakob -- Nicolas DELAHAYE

bad sql on n-m relation to subclassed object

2006-01-04 Thread delahaye\.nicolas
Hi, It seems when i use a n-m relation to a subclassed object, the sql produced by ojb is not good. The interesting part of our mapping : (note that the problem is because VersionJeuLimites inherits from Version not because VersionPdS inherits also from Version.)