Win a copy of Cross-Platform Desktop Applications: Using Node, Electron, and NW.js this week in the JavaScript forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

JDBC connection code for DB2 -- Please help!  RSS feed

Foni kumar
Ranch Hand
Posts: 68
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi all,

Can any one please provide me java code snippet which can connect my java application(i am using eclipse) to DB2 database. I am kind of new to the JDBC connection so it will be great if you can also mention if any input parameters i need to set for setting up this connection. Once connected to the java application it should also show up a message in my java console saying "Connection successful"

I really appreciate for any help in this regard.

  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!