Entering content frame

Function documentation Database Connection Management Locate the document in its SAP Library structure

Use

The management of the database connections follows the basic rules, which the Connector Container Service applies to the connections to other types of EIS. The specific feature about working with the database connections is the option to cache SQL statements.

Activities

After the end of the transaction in which the connection is used, the client-side connection handle is typically dissociated from the underlying physical connection. After a re-association, the connection handle may be associated to a different physical connection. The cached statements from a previous transaction are re-associated to the new connection, although their state may be lost.

Recommendation

We recommend that you do not use cached statements in a servlet or a class that is used by a servlet.

 

 

Leaving content frame