JDBC URL FOR COM.IBM.DB2.JCC.DB2DRIVER DRIVER

Email Required, but never shown. The correct driver is db2jcc. By clicking “Post Your Answer”, you acknowledge that you have read our updated terms of service , privacy policy and cookie policy , and that your continued use of the website is subject to these policies. Also i am using hibernate. Sign up or log in Sign up using Google. Sign up using Email and Password.

Uploader: Vulabar
Date Added: 7 April 2011
File Size: 21.49 Mb
Operating Systems: Windows NT/2000/XP/2003/2003/7/8/10 MacOS 10/X
Downloads: 65045
Price: Free* [*Free Regsitration Required]

A syntax mistake that I noticed is: By using our site, you acknowledge that you have read and understand our Cookie PolicyPrivacy Policyand our Terms of Service. The correct driver is db2jcc. You cannot use ojdbc6 to connect to a Db2 database. Neither of the examples above worked for me, but this did: I have used odbc6 driver to connect to the DB2 database.

java – connection error with db2 jdbc – Stack Overflow

Sign up using Email and Password. CannotGetJdbcConnectionException cannot be cast to java. DB2Driver” ; Hopefully this link might help you a bit more.

  INTEL BOARD D102GGC2 VGA DRIVER DOWNLOAD

WriterListenerLogger – Could not cast exception java. By clicking “Post Your Answer”, you acknowledge that you have read our updated terms of serviceprivacy policy and cookie policyand that your continued use of the website is subject to these policies.

I was missing a ; at the end of the connection string.

JDBC driver

Sign up using Email and Password. Email Required, but never shown. You must not have any spaces in the URL, and key-value pairs are separated with semicolons, not commas. Post as a guest Name. Email Required, but never shown. Cannot create JDBC driver of class ‘com. Satheesh ponugoti 7 1 5.

It would be of great help if you could guide me step by step Please let me know how to add classpath in eclipse code snippet: Driver name is depends on the driver we are using. Take a look at this information taken from the DB2 documentation added link of the reference below.

Stack Overflow works best with JavaScript enabled. Sign up using Facebook. Stack Overflow works best with JavaScript enabled. Hopefully this link might help you a bit more. Please do try using Class. Post Your Answer Discard By clicking “Post Your Answer”, you acknowledge that you have read our updated terms of serviceprivacy policy and cookie policyand that your continued use of the website is subject to these policies.

  ATI SB700 AUDIO DRIVER

Sign up or log in Sign up using Google. Also i am using hibernate.

connect DB2 with Java – Stack Overflow

Add any one of the jar file in your project as mentioned above. DB2Driver” ; To add.

Glad you found it: Your URL is a T2 connectivity url. Post as a guest Name.