sqlMap.getDataSource().getConnection().getWarnings().

That will get you the first warning.
If there are more you can use getNextWarning from the resulting 
SQLWarning.


HTH,
Marc Heimann
Software Engineer

Prolifics Deutschland GmbH
Notkestr. 3, D-22607 Hamburg
phone +49 (0)40 890 667-70
fax    +49 (0)40 890 667-99
[EMAIL PROTECTED]
SOA... Building the Future into Your Business
Handelsregister: Hamburg, HRB 89903
Geschäftsführer: Ulrich Frotscher


"Azly Nacro" <[EMAIL PROTECTED]> wrote on 19.03.2007 13:56:23:

> Hi,
> 
> We are using a SQLMapClient to make calls to some existing stored 
> procedures.  These stored procs are returning messages in the 
> statement SQLWarnings.
> Is there any way to retrieve those SQLWarnings from the SqlMapClient
> ?   If not how can we do that ? 
> 
> Thanks
> 
> 
> 
> -- 
> .    .--.
>     |o_o |
>     |:_/  |
>    //   \ \
>   (|     | ) 
> /'\_   _/`\  Azly Nacro
> \___)=(___/  Do you Linux ? 

Attachment: gifNMjaLXSuo2.gif
Description: GIF image

Reply via email to