You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user-java@ibatis.apache.org by gus wang <Gu...@Sun.COM> on 2004/12/11 15:38:29 UTC
dynamically constructed SQL (not configured) support
Hi,
Does ibatis have built-in API if I have to construct a complicated SQL
dynamically, i.e. not able to realize thru configuration? I figure that
it would take some effort if I have to implement this on my own. Greatly
appreciate you sharing what you've got on this topic!
--
Gus Wang
13570700773
Senior Solution Architect
Enterprise Web Services
Sun
Re: dynamically constructed SQL (not configured) support
Posted by Clinton Begin <cl...@gmail.com>.
If I understand your question, the answer is "no". iBATIS does not
have an API for setting up cusom SQL using Java code. It does have
support for very powerful dynamic SQL though, which solves 80% - 90%
of the cases.
When all else fails, you can always get the connection from iBATIS and
do whatever you need to do with JDBC (although its rare).
Cheers,
Clinton
On Sat, 11 Dec 2004 22:38:29 +0800, gus wang <Gu...@sun.com> wrote:
> Hi,
>
> Does ibatis have built-in API if I have to construct a complicated SQL
> dynamically, i.e. not able to realize thru configuration? I figure that
> it would take some effort if I have to implement this on my own. Greatly
> appreciate you sharing what you've got on this topic!
>
> --
> Gus Wang
> 13570700773
> Senior Solution Architect
> Enterprise Web Services
> Sun
>
>