Show TOC

Closing the ConnectionLocate this document in the navigation structure

Use

The final part of the workflow involves releasing resources. You need to:

  • Close objects, such as IRecord , IRecordset , and java.sql.resultset .

  • Close the connection using IConnection.close .

    Closing the connection must be inside a finally clause.

The physical connection to the EIS remains open, and the IConnection object that is holding the physical connection reverts to the connection pool of the WebAS Java server.

Note

Connection pooling properties are defined in the WebAS Java server administration, per connector/EIS type.