top button
Flag Notify
    Connect to us
      Site Registration

Site Registration

What is SQL Warning? How to retrieve SQL warnings in the JDBC program?

+1 vote
430 views
What is SQL Warning? How to retrieve SQL warnings in the JDBC program?
posted Aug 17, 2017 by Kumar Neeraj

Share this question
Facebook Share Button Twitter Share Button LinkedIn Share Button

1 Answer

0 votes

SQLWarning is the subclass of SQLException and we can retrieve it by calling getWarnings() method on Connection, Statement, and ResultSet objects. SQL Warnings doesn’t stops the execution of the script but alerts the user about the warning.

answer Aug 18, 2017 by Neeraj Kumar
...