title: Regarding database connections(DB2)
body: <p>How can I use jdbc driver classname with its schema, username and password to connect to database and retrieve values accordingly?</p>
  
  <p>Example: </p>
  
  <pre><code>getConnection(jdbc://bea...IP address/schema(like port)/username(admin)/passwrd)
  </code></pre>
  
  <p>Does this code give a connection to particular DB? If yes, please help me with a sample code. Am learning these days and working on a small tool. </p>