InfoCenter Home >
3: Migration overview >
3.3: Migrating APIs and specifications >
3.3.8: Migrating to supported database connection APIs (and JDBC) >
3.3.8.1: Migrating from the Version 3.0x connection pooling model

3.3.8.1: Migrating from the Version 3.0x connection pooling model

Connection pooling (provided through DataSource objects) was introduced in IBM WebSphere Application Server Version 3.0x. Application components that use Version 3.0x connection pooling need to be changed slightly and recompiled. First, replace the following import statement:

import com.ibm.db2.jdbc.app.stdext.javax.sql.*;

with this:

import javax.sql.*;

Connection pooling behavior in versions 3.5 and later changed relative to that in Version 3.0x. If your application typically requires two or more connections to the same database manager, consider the multiple-connection scenarios in Article 0.14.2.

Go to previous article: Migrating to supported database connection APIs (and JDBC) Go to next article: Migrating servlets from the connection manager model

 

 
Go to previous article: Migrating to supported database connection APIs (and JDBC) Go to next article: Migrating servlets from the connection manager model