Closing a Database Connection
After you complete required data operations in a database, close the database connection.
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.