Re: [OJB-developers] path expressions and m:n-relationship
Brought to you by:
thma
From: Oleg N. <on...@uk...> - 2002-05-08 08:02:28
|
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 |