release (with_commit = 0)
release is a method of the class SapDB_Session. When you call this method, you end the current connection to the database instance.
If you specify True for the optional parameter with_commit, the transaction is ended with a COMMIT; otherwise, it is ended with a ROLLBACK.
You can then no longer access the object of the class SapDB_Session.