ibatis-user-java mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Clinton Begin <clinton.be...@gmail.com>
Subject Re: how to get the real sql
Date Fri, 24 Dec 2004 21:21:34 GMT
If you could, that would be a driver level option.  iBATIS never
merges the parameters for you, it lets the PreparedStatement 
implementation do that.

What's the error you're getting?

Clinton


On Fri, 24 Dec 2004 14:04:49 -0600, Vic Cekvenich <vin@friendvu.com> wrote:
> I can't get a simple mapped statement to work:
> 
> SELECT
>     max(msg_num) as msg_num
>     from load_articles
>     where club_id = #club_id#
> 
> Anyone know how can I get the real sql that executes with the parm and
> real data returned in debug mode? (when I try in sql console it works
> easily)
> 
> getSql?
> getRowSet?
> 
> get the full sourcecode and trace?
> 
> tia,
> .V
> 
> --
> RiA-SoA w/JDNC <http://www.SandraSF.com> forums
> - help develop a coomunity
> My blog <http://www.sandrasf.com/adminBlog>
>

Mime
View raw message