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.

CAUTION: 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
编组 3备份
    openGauss 2024-12-26 01:05:31
    cancel