Hi All,
I get the below error when I am trying to configure type 4 db2 database.
org.hibernate.HibernateException: JDBC Driver class not found: com.ibm.db2.jcc.DB2Driver
Below is the config file
<property name="connection.driver_class">com.ibm.db2.jcc.DB2Driver</property>
<property name="connection.url">jdbc:db2://tst:500/tst;</property>
<property name="connection.username">user</property>
<property name="connection.password">pwd</property>
below is the classpath
CLASSPATH=.;C:\PROGRA~1\IBM\SQLLIB\java\db2java.zip;C:\PROGRA~1\IBM\SQLLIB\java\
db2jcc.jar;C:\PROGRA~1\IBM\SQLLIB\java\db2jcc_license_cu.jar;C:\PROGRA~1\IBM\SQL
LIB\bin;C:\PROGRA~1\IBM\SQLLIB\java\common.jar
Everything looks fine to me...I dont understand why this error shows up.
Thanks,
Mitr
|