JavaDeploy
SiteMap
JSP - Servlets
JDBC
EJB Concepts
Entity Beans
JDBC
«Prev
Next»
Intro JDBC
Learning JDBC
JDBC Course Project
JDBC Case Study
JDBC Team
Business Case Conclusion
Distributed Objects
Enterprise Solutions JDBC
System Organization Role
Relational Databases
JDBC/ODBC Relationship
Microsoft API ODBC
SQL Database Processing
JDBC Architectural Models
n-tier Architectural Benefits
JDBC Mechanics
Enterprise Conclusion
JDBC Connection
JDBC URL Connection
JDBC Driver
Driver Types
Driver Manager
Sample JDBC Program
JDBC DBMS Conclusion
Database Tables
Statement Objects
Examining Query Results
Accessing Data Methods
Database Metadata
Obtain Database Content
Prepared Statements
Interface ResultSet
Transaction Methods
Isolation Levels
ResultSetMetaData SQL Warnings - Quiz
Each question is worth one point. Select the best answer or answers for each question.
1.
The ResultSetMetaData class is used to do which of the following?
Please select
the best answer
.
A.
Update columns in the ResultSet
B.
Scroll through a ResultSet
C.
Insert rows into a ResultSet
D.
Obtain information about a ResultSet
2.
Unlike an SQLException, an SQLWarning doesn't interrupt an application. Those warnings are available for all these objects EXCEPT:
Please select
the best answer
.
A.
a ResultSetMetaData
B.
a Statement
C.
a Connection
D.
a ResultSet
3.
Which of the following statements are true about ResultSetMetaData in JDBC?
Please select
the best answer
.
A.
ResultSetMetaData is used to get metadata about a ResultSet object.
B.
ResultSetMetaData provides information about the columns in a ResultSet object.
C.
ResultSetMetaData can be used to determine the SQL data types of the columns in a ResultSet object.
D.
ResultSetMetaData is used to execute SQL statements.
4.
Which of the following statements are true about SQLWarnings in JDBC?
Please select
the best answer
.
A.
SQLWarnings provide information about errors that occurred during the execution of an SQL statement.
B.
SQLWarnings can be retrieved using the getWarnings() method on a Connection object.
C.
SQLWarnings are only generated for errors that result in the termination of an SQL statement.
D.
SQLWarnings can be ignored by the developer and will not affect the behavior of the application.