Releases use of the current connection, returning it to its connection pool.
Syntax
void release()
Parameters
None.
Return values
None.
Exceptions
CwDBConnectionException
Notes
The release() method explicitly releases use of the current connection by the map instance. Once released, the connection returns to its connection pool, where it is available for other components (maps or collaborations) that require a connection to the associated database. If you do not explicitly release a connection, the map instance implicitly releases it at the end of the current map run. Therefore, you cannot save a connection in a static variable and reuse it.
See also