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 collaboration object. 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 collaboration object implicitly releases it at the end of the current collaboration run. Therefore, you cannot save a connection in a static variable and reuse it.
See also