Hi Thomas,
where can I get Rechor's patch files?
Uwe
-----Urspr�ngliche Nachricht-----
Von: Thomas Yip [mailto:[EMAIL PROTECTED]]
Gesendet am: Freitag, 7. September 2001 08:02
An: [EMAIL PROTECTED]
Betreff: Re: [castor-dev] Fixed SQL Generation
What version does your patch based on?
I made a quite glance and found that your patch is conflicting with Rechor's
patch.
Please take a look at his, and probably make change based on his version, if
you think your doesn't try to solve the same problem as his.
Thank,
Thomas
-----Original Message-----
>From: Uwe Meier [mailto:[EMAIL PROTECTED]]
>Sent: Thursday, September 06, 2001 10:34 PM
>To: [EMAIL PROTECTED]
>Subject: [castor-dev] Fixed SQL Generation
>
>Hi Castors,
>
>I had a problem with the generated SQL-statements for OQL queries of the
>following style:
>
>"SELECT o FROM de.falk.falk35.categories.Category o WHERE" +
>" o.boundingBox.x1Y1.x <= $1 and $1 <= o.boundingBox.x2Y2.x and" +
>" o.boundingBox.x2Y2.y <= $2 and $2 <= o.boundingBox.x1Y1.y";
>
>Castor created an alias-table for every single sub-where-clause:
>
>"TBOUNDINGBOX" "TBOUNDINGBOX_3",
>"TBOUNDINGBOX",
>"TBOUNDINGBOX" "TBOUNDINGBOX_2",
>"TBOUNDINGBOX" "TBOUNDINGBOX_1"
>
>and joined them,
>
>although semantically only one TBOUNDINGBOX-table is needed.
>
>I fixed this problem in the attached adapted Castor-Files.
>(The adapted or inserted code is commented by an //um comment-string.)
>
> <<QueryExpression.java>> <<JDBCQueryExpression.java>>
><<ParseTreeWalker.java>>
>
>
>
>uwe meier [mailto:[EMAIL PROTECTED]] [http://www.dmc.de]
>digital media center gmbh
>marienstrasse 41
>d-70178 stuttgart (germany)
>fon [49].[711].601747-42
>fax [49].[711].601747-77
>
>
-----------------------------------------------------------
If you wish to unsubscribe from this mailing, send mail to
[EMAIL PROTECTED] with a subject of:
unsubscribe castor-dev