SelectBuilder

2010-04-28 Thread Jeff Butler
I've been playing with SelectBuilder. I like it, and I just added support for the DISTINCT keyword. Just wondering... Clinton - did you consider doing DeleteBuilder, InsertBuilder, UpdateBuilder? I'd be happy to work on them if you are open to it. J

How to implement in SelectBuilder?

2010-03-31 Thread Paul Spencer
I am use the SelectBuilder to generate query statement. I have a need to generate an IN clause. If I where to do this using sql-map.xml, I would use a . WHERE ID in #{item} < /foreach> What is the equivalent in SqlBuilder? Paul S

Re: Fluent SelectBuilder

2010-03-22 Thread Josh Stone
t "risky" feature. > > To begin though, SelectBuilder is more of a utility than anything. You > could easily create your own builder and use it with no consequence. There > is no dependency on SelectBuilder nor any requirement to use it. > > My story is that I started bui

Re: Fluent SelectBuilder

2010-03-22 Thread Clinton Begin
Criticism is welcome here, especially in this somewhat "risky" feature. To begin though, SelectBuilder is more of a utility than anything. You could easily create your own builder and use it with no consequence. There is no dependency on SelectBuilder nor any requirement to use it. M

Fluent SelectBuilder

2010-03-22 Thread Josh Stone
Hi, I'm new to iBatis, currently assessing the features for an upcoming project, and I came across one feature that struck me as being odd - the SelectBuilder. I'm not sure if this is what was intended as the implementation of the "dynamic SQL API" described on the 3.0 w

Re: How to use SelectBuilder

2009-10-19 Thread J Xu
ted to use, then I have to generate SQL commands programatically with SelectBuilder and get a SQL command string, then how can I wire up this string with some SQL mappings so that at least the result mapping can be handled by iBatis. Clinton Begin wrote: > > Page 58 of the user guide. >

Re: How to use SelectBuilder

2009-10-16 Thread Clinton Begin
Page 58 of the user guide. On Fri, Oct 16, 2009 at 7:20 PM, J Xu wrote: > > I am new to iBatis, and saw the SelectBuilder class and seems pretty > interesting, but I don't know how to use it with mappers. > -- > View this message in context: > http://www.nabble.com/H

How to use SelectBuilder

2009-10-16 Thread J Xu
I am new to iBatis, and saw the SelectBuilder class and seems pretty interesting, but I don't know how to use it with mappers. -- View this message in context: http://www.nabble.com/How-to-use-SelectBuilder-tp25934486p25934486.html Sent from the iBATIS - User - Java mailing list archi