I am running an application that used struts and hibernate. I am currently using Derby database.
Now i have to shift on DB2 database.
Please tell me
- what Configuration I have to do in
hibernate configuration file? - Do I have to set any classpath
variable? - I know there are two jars for DB2
(db2jcc.jar & db2jcc_license_cu.jar).
Is there any other jar I may need?
Thanks in advance.
It should work with db2jcc.jar
Add below properties to your
hibernate.cfg.xmlChange last 3 properties according to your configuration