Dear Kris,
Thank you for your email.
I tried this getWarnings(), but it didn't capture the "notice" level of the
messages.
Regards,
Etsuko
-----Original Message-----
From: Kris Jurka [mailto:books(at)ejurka(dot)com]
Sent: Monday, February 03, 2003 15:59
To: etsuko shimabukuro
Cc: pgsql-jdbc(at)postgresql(dot)org
Subject: Re: [JDBC] How do I capture the message from user defined function
On Mon, 3 Feb 2003, etsuko shimabukuro wrote:
>
> I'm trying to get a message which has been raised within my user-defined
> function.
> The message is created by using "raise notice". This message is not error
> so I'm using "notice" level.
>
Try using the getWarnings() method of the Connection object.
Kris Jurka