openGauss Closing a Connection

·

1 min read

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();