I wrote an article about how to get the DB2 version from a JDBC drvier. There should be a function that does that:
Fred Sobotka: “I’d like a list that tells me the client_prdid (JCC0####) of each version of the Type 4
JCC driver since that is the only attribute the driver exposes to the application snapshot monitor.
You’d think the client_prdid would be based on the JDBC driver version but it isn’t. So I end up
grabbing a copy of the driver JAR right off the application server just to determine what Fixpack it
came from”.
I wrote an article about how to get the DB2 version from a JDBC drvier. There should be a function that does that:
Fred Sobotka: “I’d like a list that tells me the client_prdid (JCC0####) of each version of the Type 4 JCC driver since that is the only attribute the driver exposes to the application snapshot monitor. You’d think the client_prdid would be based on the JDBC driver version but it isn’t. So I end up grabbing a copy of the driver JAR right off the application server just to determine what Fixpack it came from”.
http://angocadb2.blogspot.fr/2014/08/jdbc-driver-version-evolution.html