Issue
I found two sources to add them as maven dependency for JDBC 4.0 Driver (db2jcc4.jar) v11.5 M7 FP0 4.31.10 (JCC)
.
One is the IBM
official download link. Another one is the link from mvn
repository which I can include dependency in my project.
<!-- https://mvnrepository.com/artifact/com.ibm.db2/jcc -->
<dependency>
<groupId>com.ibm.db2</groupId>
<artifactId>jcc</artifactId>
<version>11.5.7.0</version>
</dependency>
I have no option to validate whether these two are the same Db2 11.5 Mod 7 Fix Pack 0
except the signature which matches with the mvn dependency version
Can someone help me to validate that these two are same JDBC 4.0 Driver (db2jcc4.jar) v11.5 M7 FP0 4.31.10 (JCC)
?
Solution
The Db2 JCC driver version can be obtained by the following command.
> java -cp /path/to/the/file/db2jcc4.jar com.ibm.db2.jcc.DB2Jcc -version
IBM Data Server Driver for JDBC and SQLJ 4.31.10
Answered By - Mark Barinstein
Answer Checked By - David Marino (JavaFixing Volunteer)