5 years ago in JDBC

What happens if you call deleteRow() on a ResultSet object?

[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 can not delete rows from a ResultSet
Loading...
Next Question

Overall Stats

Attempted 488
Correct 110
Incorrect 122
Viewed 256

Answers

Guest
Guest
Shamsa hafeez
Shamsa hafeez - 1 day ago

Shamsa hafeez from Lahore, Pakistan is saying The row you are positioned on is deleted from the ResultSet, but not from the database. is correct answer

Sagar Gawari
Sagar Gawari - 3 weeks ago

Sagar Gawari from Pune, India is saying The row you are positioned on is deleted from the ResultSet and from the database is correct answer

Zo Go
Zo Go - 1 month ago

Zo Go from Casablanca, Morocco is saying The row you are positioned on is deleted from the ResultSet, but not from the database. is correct answer

Reshma sunil Reshma
Reshma sunil Reshma - 1 month ago

Reshma sunil Reshma from Ahmedabad, India is saying The row you are positioned on is deleted from the ResultSet and from the database is correct answer

Aashi Garg
Aashi Garg - 1 month ago

Aashi Garg from Greater Noida, India is saying The row you are positioned on is deleted from the ResultSet and from the database is correct answer

Related Questions

Which packages contain the JDBC classes?

  • [A] java.jdbc and javax.jdbc
  • [B] java.jdbc and java.jdbc.sql
  • [C] java.sql and javax.sql
  • [D] java.rdb and javax.rdb

Which of the following allows non repeatable read in JDBC Connection?

  • [A] TRANSACTION_READ_UNCOMMITTED
  • [B] TRANSACTION_READ_COMMITTED
  • [C] TRANSACTION_SERIALIZABLE
  • [D] TRANSACTION_REPEATABLE_READ

Which of the following statements is false as far as different type of statements is concern in JDBC?

  • [A] Regular Statement
  • [B] Prepared Statement
  • [C] Callable Statement
  • [D] Interim Statement

Where is metadata stored in MySQL?

  • [A] In the MySQL database metadata
  • [B] n the MySQL database metasql
  • [C] In the MySQL database mysql
  • [D] None of the above is correct.

Which type of driver provides JDBC access via one or more ODBC drivers?

  • [A] Type 1 driver
  • [B] Type 2 driver
  • [C] Type 3 driver
  • [D] Type 4 driver