How to use SelectBuilder

View: New views
3 Messages — Rating Filter:   Alert me  

How to use SelectBuilder

by J Xu :: Rate this Message:

| View Threaded | Show Only this Message

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.

Re: How to use SelectBuilder

by Clinton Begin :: Rate this Message:

| View Threaded | Show Only this Message

Page 58 of the user guide.

On Fri, Oct 16, 2009 at 7:20 PM, J Xu <jxu@...> 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/How-to-use-SelectBuilder-tp25934486p25934486.html
Sent from the iBATIS - User - Java mailing list archive at Nabble.com.


---------------------------------------------------------------------
To unsubscribe, e-mail: user-java-unsubscribe@...
For additional commands, e-mail: user-java-help@...



Re: How to use SelectBuilder

by J Xu :: Rate this Message:

| View Threaded | Show Only this Message

Thanks for your quick response. I did read through the user guide and that's where I found this interesting util class, but I still can't figure out how do I use this class with SQL mappings. I think when a query is very complicated so that even dynamic SQL is not enough or too complicated 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.

On Fri, Oct 16, 2009 at 7:20 PM, J Xu <jxu@lancope.com> 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/How-to-use-SelectBuilder-tp25934486p25934486.html
> Sent from the iBATIS - User - Java mailing list archive at Nabble.com.
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: user-java-unsubscribe@ibatis.apache.org
> For additional commands, e-mail: user-java-help@ibatis.apache.org
>
>