You are viewing a plain text version of this content. The canonical link for it is here.
Posted to ojb-user@db.apache.org by "Janssen, Roger" <Ro...@ibanx.nl> on 2003/02/27 16:16:46 UTC

Patch: implementing multiple aliases on same object/table with j oins

Hi,
 
after asking a few times whether OJB supported this feature (short recap: we
have issues and keywords, both in seperate tables, keyword with foreign key
linked to issue, 1 issue may have multiple keywords : ojb does not support
the following query -> give me all issues that have the keywords 'JOIN' AND
'ALIAS' assigned to it) and getting no answer, i dug into the sourcecode. I
noticed myself that ojb does not support this.
 
I implemented a patch so that OJB supports this feature. However, i am using
OJB 0.9.7 (0.9.8 and 0.9.9 introduced bugs breaking my apps, be more
carefull with the regression tests when releasing new versions) and the
patch is for this version.
 
I will post the patch to this list today or tomorrow, is it possible that
any of the OJB developers take a look at it, and integrate it into the
latest version (my guess is that that won't be to big a problem).
 
Roger Janssen
iBanx


*************************************************************************
The information contained in this communication is confidential and is
intended solely for the use of the individual or entity to  whom it is
addressed.You should not copy, disclose or distribute this communication 
without the authority of iBanx bv. iBanx bv is neither liable for 
the proper and complete transmission of the information has been maintained
nor that the communication is free of viruses, interceptions or interference.

If you are not the intended recipient of this communication please return
the communication to the sender and delete and destroy all copies.

Re: Patch: implementing multiple aliases on same object/table with j oins

Posted by Jakob Braeuchi <jb...@gmx.ch>.
hi roger,

i recently implemented a 'fix' to _prevent_ multiple alias for the same 
table....
so i think we should work together on this feature.

jakob

Janssen, Roger wrote:

>Hi,
> 
>after asking a few times whether OJB supported this feature (short recap: we
>have issues and keywords, both in seperate tables, keyword with foreign key
>linked to issue, 1 issue may have multiple keywords : ojb does not support
>the following query -> give me all issues that have the keywords 'JOIN' AND
>'ALIAS' assigned to it) and getting no answer, i dug into the sourcecode. I
>noticed myself that ojb does not support this.
> 
>I implemented a patch so that OJB supports this feature. However, i am using
>OJB 0.9.7 (0.9.8 and 0.9.9 introduced bugs breaking my apps, be more
>carefull with the regression tests when releasing new versions) and the
>patch is for this version.
> 
>I will post the patch to this list today or tomorrow, is it possible that
>any of the OJB developers take a look at it, and integrate it into the
>latest version (my guess is that that won't be to big a problem).
> 
>Roger Janssen
>iBanx
>
>
>*************************************************************************
>The information contained in this communication is confidential and is
>intended solely for the use of the individual or entity to  whom it is
>addressed.You should not copy, disclose or distribute this communication 
>without the authority of iBanx bv. iBanx bv is neither liable for 
>the proper and complete transmission of the information has been maintained
>nor that the communication is free of viruses, interceptions or interference.
>
>If you are not the intended recipient of this communication please return
>the communication to the sender and delete and destroy all copies.
>
>  
>