To use database connection pools in maps and collaboration templates, you use the getDBConnection() method in the BaseCollaboration class:
CwDBConnection getDBConnection(String ConnectionPoolName);
The string ConnectionPoolName must match exactly a pool name that you have created or will create in System Manager. If the name does not match exactly, or if you set connection pool name values in a collaboration template or map but do not create the database connection pool in System Manager, the collaboration object or map will fail.
For collaborations, you can set pool names in a template either before or after you have created the collaboration objects from that template; you do not need to reconfigure new collaboration objects to match a new connection pool name.
For more information on developing collaboration templates to use database connection pools, see the WebSphere InterChange Server: Collaboration Development Guide.
For more information on developing maps to use database connection pools, see the WebSphere InterChange Server: Map Development Guide.