ibatis-user-java mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Azly Nacro" <azly.na...@gmail.com>
Subject Re: iBatis & Statement SQL Warnings
Date Mon, 19 Mar 2007 13:27:27 GMT
Thanks Marc but this will get the warnings from the connection.
But I wants the warning from the callable statement that has been use to
make the call to the stored procedure.

Thanks


On 3/19/07, Marc.Heimann@prolifics.de <Marc.Heimann@prolifics.de> wrote:
>
>
> 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
> [image: Prolifics - Enterprise Solution Division - IBM Business Partner]*
> Prolifics Deutschland GmbH*
> Notkestr. 3, D-22607 Hamburg
> phone +49 (0)40 890 667-70
> fax    +49 (0)40 890 667-99*
> **marc.heimann@prolifics.de* <marc.heimann@prolifics.de>*
> SOA... Building the Future into Your Business*
>
> Handelsregister: Hamburg, HRB 89903
> Geschäftsführer: Ulrich Frotscher
>
>
> "Azly Nacro" <azly.nacro@gmail.com> 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 ?
>
>


-- 
.    .--.
    |o_o |
    |:_/  |
   //   \ \
  (|     | )
/'\_   _/`\  Azly Nacro
\___)=(___/  Do you Linux ?

Mime
  • Unnamed multipart/related (inline, None, 0 bytes)
View raw message