jQuery in Action, 3rd edition
The moose likes Websphere and the fly likes jdbc Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Products » Websphere
Bookmark "jdbc" Watch "jdbc" New topic


madhukar rao

Joined: Sep 28, 2006
Posts: 1
how to connect the jdbc oracle db with wasd tool
Shailesh Chandra
Ranch Hand

Joined: Aug 13, 2004
Posts: 1082

madhukar Welcome to Javaranch !

I am sorry to ask a question against a question but could you please tell me how do you want to connect... I mean you want to connect using datasource, or Drivermanager or else..


Gravitation cannot be held responsible for people falling in love ~ Albert Einstein
prithvi s zankat

Joined: Jul 18, 2005
Posts: 12
Do these thigs.
1. Double click on the server to which you want to connet the database.
2. In IDE you will see "Data Source" tab. Click the tab.
3. Under Data Source page, add the driver under the option "JDBC Driver List". Here you have to specify database name, Implementation class Name (for example for oracle it would be "oracle.jdbc.pool.OracleConnectionPoolDataSource"), then add the .jar file for driver (for example classes12.jaar).
4.Add data source and JNDI name under "Data Source".
5.Add username, password and connection string under the resource properties.

Jeanne Boyarsky
author & internet detective

Joined: May 26, 2003
Posts: 33106

Welcome to JavaRanch!

I'm going to move this thread to the IBM forum for you since it is more about WSAD than JDBC.

[OCA 8 book] [Blog] [JavaRanch FAQ] [How To Ask Questions The Smart Way] [Book Promos]
Other Certs: SCEA Part 1, Part 2 & 3, Core Spring 3, TOGAF part 1 and part 2
I agree. Here's the link: http://aspose.com/file-tools
subject: jdbc
jQuery in Action, 3rd edition