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, [EMAIL PROTECTED] <[EMAIL PROTECTED]> 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* [EMAIL PROTECTED] <[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 ?
-- . .--. |o_o | |:_/ | // \ \ (| | ) /'\_ _/`\ Azly Nacro \___)=(___/ Do you Linux ?

