Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

How to get ResultSet Message when no Exception is thrown

Status
Not open for further replies.

RobbMN

Programmer
Mar 2, 2004
19
US
I'm using a product called Neon to invoke an app that returns an ODBC (JDBC) result set. It is capable of returning metadata, a message, and no rows. I'm able to get the SQLState and Message text when a SQLException occurs, but am unable to get the message text when a request for a ResultSet does not throw an exception.

Does anyone know how to get the text returned from "getMessage()" when an exception has not been thrown?

I tried SQLWarning, the object is null.
(I am able to get at the message text thru a Visual Basic app).
 
please do not crosspost with other forums here - its very annoying for people who regularly reply to peoples questions. There are several replys to this question at the other forum you posted on - forum269 .
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top