Oops, sorry. I had skimmed through the FAQ, but somehow I missed this. Will look more thoroughly the next time.
Anyway: Thanks a lot for the answer - the helpful mailing list is a big plus for iBatis! -----Ursprüngliche Nachricht----- Von: j-lists [mailto:[email protected]] Gesendet: Dienstag, 24. November 2009 06:47 An: [email protected] Betreff: Re: DRY for <where> clauses? http://opensource.atlassian.com/confluence/oss/display/IBATIS/How+do+I+reuse+SQL-fragments On Mon, Nov 23, 2009 at 9:11 AM, Stephen Friedrich <[email protected]> wrote: > My application uses a lot of "manual" paging (using ROWNUM and nested selects > in Oracle PL/SQL). > For each of these queries there is a second query that returns the total > number of results with _identical with-clause_ (sometimes quite complex). > Does iBatis offer any help in avoiding these code duplicates? > > (Or does anybody know a better way, for example a way to retrieve both the > total count and a specific "page" in a single statement?) > > --------------------------------------------------------------------- > To unsubscribe, e-mail: [email protected] > For additional commands, e-mail: [email protected] > > --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
