How do you know in your Java program that a SQL warning is generated as a result of executing a SQL statement in the database? (a) You must catch the checked SQLException which is thrown by the method which executes the statement (b) You must catch the unchecked SQLWarningException which is thrown by the method which executes the statement (c) You must invoke the getWarnings() method on the Statement object (or a sub interface thereof) (d) You must query the ResultSet object about possible warnings generated by the database
(c)
| More interview questions and answers |
|---|
The JDBC-ODBC Bridge supports multiple concurrent open statements per connection? (a)yes (b) No |
yes |
(A) |
Can we implement an interface in a JSP? (a)Yes (b)N0 (c)None (d)Can't say |
No |
(c) |
(d) |
(d) |
what is the main components of JDBC ? (a)Driver Manager (b)Driver (c)Connection (d)both a&b |
(d) |
What is JDBC Driver interface (a)java.sql.Connection (b)Statement (c)java.connection (d)both a & b |
(d) |
(b) |
(b) |
(A) |
(d) |
(a) |
(d) |
(b) |
(c) |
(c) |
(d) |
(b) |
(b) |
(d) |
(c) |
there are 2 answers (b) and (d) |
(b) |
(d) |
(a) |