Closing the Connection
After you complete required data operations in a database, close the database connection. Call the close method such as connection.close() to close the connection.
This method closes the database connection and does not automatically call commit(). If you just close the database connection without calling commit() first, changes will be lost.
Feedback
Was this page helpful?
Provide feedbackThank you very much for your feedback. We will continue working to improve the documentation.See the reply and handling status in My Cloud VOC.
For any further questions, feel free to contact us through the chatbot.
Chatbot