[OJB-developers] SqlGenerator redesign: SqlStatement
Brought to you by:
thma
From: Oleg N. <on...@uk...> - 2002-05-15 08:05:54
|
Hi All, The first (major) part of the redesign is in CVS. This includes table aliases, platform dependent JOIN syntax, UNIONs. The stuff isn't tested as complete as it should, but now only one testcase fails (I don't know which one). Most of Queries are now handled by SqlStatement. NToMCriteria is still handled by SqlGenerator, is requires some redesign. SqlStatement may seem complicated, but believe me, it can't be simple. I have to write more query testcases to show this :) Comments and bug reports are welcome. Oleg On Wednesday 08 May 2002 11:07, Oleg Nitz wrote: > Hi Jakob, > > On Wednesday 08 May 2002 09:59, Jakob Braeuchi wrote: > > i fixed the SqlGenerator to support m:n path expression (it took me only > > 90 minutes, i couldn't resists), and i also added new testcases for this > > kind of path-expressions. > > but i think the SqlGenerator and the JoinInfos are getting more and more > > ugly, and the definitely need a redesign. > > how is the design of the new SqlGenerator you're working on ? > > I am copying/moving some code from SqlGenerator to SqlStatement - a new > class that will be responsible for generating one SELECT statement for > given criteria and handle joins, aliases and UNIONs. Yes, UNIONs - I know > cases where they are necessary. I can expand on this if anyone is > interested. How long this work would take - I can't say, probably I'll > commit something until the end of the week. > > Oleg > > _______________________________________________________________ > > Have big pipes? SourceForge.net is looking for download mirrors. We supply > the hardware. You get the recognition. Email Us: ban...@so... > _______________________________________________ > Objectbridge-developers mailing list > Obj...@li... > https://lists.sourceforge.net/lists/listinfo/objectbridge-developers |