CSE MCQs :: JDBC
- What is not true of a Java bean?
- What happens if you call deleteRow() on a ResultSet object?
- The method on the result set that tests whether or not there remains at least one unfetched tuple in the result set, is said to be
- Which of the following is an advantage of using PreparedStatement in Java?
- Which type of Statement can execute parameterized queries?
- Which of the following encapsulates an SQL statement which is passed to the database to be parsed, compiled, planned and executed?
- Which of the following is used to call a stored procedure?
- What is, in terms of JDBC, a DataSource?
A.
The row you are positioned on is deleted from the ResultSet, but not from the database
|
B.
The row you are positioned on is deleted from the ResultSet and from the database
|
C.
The result depends on whether the property synchronizeWithDataSource is set to true or false
|
D.
You will get a compile error: the method does not exist because you cannot delete rows from a ResultSet
|