Help Center/
GaussDB/
Developer Guide(Centralized_2.x)/
Application Development Guide/
Development Based on JDBC/
Closing a Connection
Updated on 2023-10-23 GMT+08:00
Closing a Connection
After you complete required data operations in the database, close the database connection.
Call the close method to close the connection, for example, Connection conn = DriverManager.getConnection("url","user","password"); conn.close();
Parent topic: Development Based on JDBC
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.
The system is busy. Please try again later.
For any further questions, feel free to contact us through the chatbot.
Chatbot