You may find this thread helpful: http://tinyurl.com/co6tt http://www.mail-archive.com/ibatis-dev%40incubator.apache.org/msg01015.html
--- Ersin Er <[EMAIL PROTECTED]> wrote: > Brandon Goodin wrote: > > >This will help you: > >http://opensource.atlassian.com/confluence/oss/display/IBATIS/How+do+I+get+around+the+N+Plus+1+selects+problem%3F > > > > > Infact, the document is the same as the Developer's Guide. What a > pity, > it did not help me. Anyway, I'm trying and learning myself. > > The groupBy attribute's value is a class property, not a table > column, > right? > > >On 6/6/05, Ersin Er <[EMAIL PROTECTED]> wrote: > > > > > >>Hi, > >> > >>What is the porpose of "groupBy" attribute used in the SQL Mapper > doc for > >>"Complex Collection Properties" subject? It says "The important > items here > >>are the groupBy="quarter" attribute.." but it doesn't say why. I've > tried > >>my own example for 1:M relations and I did not the effect of > groupBy > >>attribute clearly. (After a few examples, a new sample doc will > come.. :) > >>) > >> > >>Thanks. > >> > >>-- > >>Ersin > >> > >> > >> > > >