0
votes

What will be best driver to connect DB2-Java? I read about db2jcc.jar, later i read in IBM portal that this jar got deprecated. My App will be deploying to PCF.

1

1 Answers

2
votes

Documentation mentions that db2jcc.jar is deprecated, but not db2jcc4.jar

Driver options:

  • db2jcc.jar and sqlj.zip for JDBC 3.0 and earlier support

  • db2jcc4.jar and sqlj4.zip for JDBC 4.0 or later, and JDBC 3.0 or earlier support

Deprecated warning:

db2jcc.jar and sqlj.zip are now deprecated.

You may use now db2jcc4.jar and sqlj4.zip.