• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
How can I fix WO5 outer Join syntax?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

How can I fix WO5 outer Join syntax?


  • Subject: How can I fix WO5 outer Join syntax?
  • From: Bob Stuart <email@hidden>
  • Date: Sat, 29 Mar 2003 12:51:18 -0500

Hi all,
WO5.2 on OSX or Windows. It appears that ODBCSQLExpression in WO4.5 did a more current syntaxt for outer Joins. It did the style of :
from {oj table1 t0 LEFT OUTER JOIN table2 t1 ON t0.att1 = t1.att1}
I know the {} and the oj are ODBC stuff the rest is normal sql. In WO5 I get
from table1 t0, table2 t1 where t0.att1 *= t1.att1
This does not work for DB2 or I think most other recent databases. I know I can override with my own adaptor most/all of the sql generation. Has anyone done this already. Can I get my hands on what ODBCSQLExpression did do in the past? I don't mind recoding OBJ C into Java to do it. I'm porting a 4.5 to 5 and this is a real pain. I don't want to go to raw sql for every left join I have. I already have a custom adaptor and sqlExpression so all I need is the logic. I hate trying to reverse engineer the logic when it was already done and done apparently correctly. The ODBC syntax does work fine for DB2.
--
Bob Stuart
_______________________________________________
webobjects-dev mailing list | email@hidden
Help/Unsubscribe/Archives: http://www.lists.apple.com/mailman/listinfo/webobjects-dev
Do not post admin requests to the list. They will be ignored.

  • Follow-Ups:
    • Re: How can I fix WO5 outer Join syntax?
      • From: Jonathan Rochkind <email@hidden>
  • Prev by Date: RE: [webobjects-newbies] awake and sleep method invoking question
  • Next by Date: Re: How can I fix WO5 outer Join syntax?
  • Previous by thread: RE: [webobjects-newbies] awake and sleep method invoking question
  • Next by thread: Re: How can I fix WO5 outer Join syntax?
  • Index(es):
    • Date
    • Thread