Show TOC

release Method (SapDB_Session Class)Locate this document in the navigation structure

Use

release is a method of the SapDB_Session class (sdb.sql module). You can use this method to close the current connection to the database. After closing the current connection, you can no longer access the corresponding object of the SapDB_Session class.

Features
release (with_commit = False)
			

Attribute

Description

with_commit

Optional

True: Transaction is ended with COMMIT

False: Transaction is ended with ROLLBACK (default value)