ibatis-user-java mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Vic Cekvenich <...@friendvu.com>
Subject Re: how to get the real sql
Date Fri, 24 Dec 2004 22:18:52 GMT
There was no error thrown. I found the problem later that  I did not in 
XML declare a return object ( a HashMap in my case).
Still it seems that it be possible to get the handle to the 
preparedstatment.

Merry Xmass all.

.V

Clinton Begin wrote:

>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>
>>
>>    
>>
>
>
>  
>


-- 
RiA-SoA w/JDNC <http://www.SandraSF.com> forums
- help develop a coomunity
My blog <http://www.sandrasf.com/adminBlog>

Mime
View raw message