Closing the Connection
Prev
Chapter 3. Initializing the Driver
Next
Closing the Connection
To close the database connection, simply call the
close()
method to the
Connection
:
db.close();