Closing a Database Connection
After you complete required data operations in the database, close the database connection.
You can call the close method to close the connection.
conn.close();
Feedback
Was this page helpful?
Provide feedbackThank you very much for your feedback. We will continue working to improve the documentation.