接続を閉じる

データベース接続を閉ざすには、単に Connection インスタンスの close() メソッドを呼び出します。

db.close();