Java: Obtendo a versão de um driver JDBC

From Wiki
Revision as of 23:06, 25 September 2014 by Ebasso (talk | contribs)


Verificando o driver JDBC do DB2

Execute o comando

# java -cp db2jcc4.jar:db2jcc_license_cu.jar com.ibm.db2.jcc.DB2Jcc -version
IBM Data Server Driver for JDBC and SQLJ 4.14.122

#java -cp db2jcc4.jar:db2jcc_license_cu.jar com.ibm.db2.jcc.DB2Jcc -version
IBM Data Server Driver for JDBC and SQLJ 4.14.137

na technote DB2 JDBC Driver Versions, peguei os valores e comparei com

  • 4.14.122 => v9.7 FP8
  • 4.14.137 => v9.7 FP9

Ver também