Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

DB2 is not supported in this connection pool? #87

Closed
ContyChen opened this issue May 26, 2014 · 2 comments
Closed

DB2 is not supported in this connection pool? #87

ContyChen opened this issue May 26, 2014 · 2 comments
Labels

Comments

@ContyChen
Copy link

DB2 is not supported in this connection pool?

@brettwooldridge
Copy link
Owner

DB2 should work just fine, have you tried specifying the dataSourceClassName property as com.ibm.db2.jcc.DB2SimpleDataSource?

For example (using java.util.Properties):

dataSourceClassName=com.ibm.db2.jcc.DB2SimpleDataSource
dataSource.user=test
dataSource.password=test
dataSource.databaseName=mydb
dataSource.serverName=localhost
dataSource.portNumber=50000

Documentation here

@xipki
Copy link

xipki commented Jun 28, 2014

The following configuration works for me:

dataSourceClassName = com.ibm.db2.jcc.DB2SimpleDataSource
dataSource.user=test
dataSource.password=test
dataSource.databaseName=mydb
dataSource.serverName=localhost
dataSource.portNumber=50000
dataSource.currentSchema = DB2INST1
dataSource.driverType = 4

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

3 participants