JDBC  «Prev 

JDBC Methods Code

1) A Connection object linked to a database is returned to the JDBC application.

2) A statement object is returned to the JDBC program by the Connection object.

3) The Statement object executes a query on the database, returning a ResultSet to the application.

4) The cursor is moved to the fourth row of the ResultSet.

5) The hospital column of row four is changed to a "A new Name" in the ResultSet.

6) The changes are applied to the database.