Entering content frame

Background documentation SapDB_Session Class Locate the document in its SAP Library structure

Use

SapDB-Session is a class of the sapdb.sql module. Objects of this class are generated by calling the connect method of the sapdb.sql module. You can use these objects to execute SQL statements.

An object belonging to this class corresponds to a database connection. When the last connection to this object is deleted, the database connection is ended by a transaction ROLLBACK.

Class Content

The SapDB-Session class contains the following methods:

sql (cmd)

sqlX (cmd, parms)

prepare (cmd)

release (withCommit=0)

commit ()

rollback ()

Note

UNICODE character strings cannot be used as SQL statements for sql (cmd), sqlX (cmd, parms) and prepare (cmd) methods.

 

Leaving content frame