Are ResultSets updateable?
1.Yes, but only if we call the method openCursor() on the ResultSet and if the driver and database support this option.
2.Yes, but only if we indicate a concurrency strategy when executing the statement, and if the driver and database support this option.
3.Yes, but only if the ResultSet is an object of class UpdateableResultSet and if the driver and database support this option.
4.No, ResultSets are never updateable. We must explicitly execute a DML statement to change the data in the underlying database.
Posted Date:-2022-01-18 07:01:22