Win a copy of Beginning Java 17 Fundamentals: Object-Oriented Programming in Java 17 this week in the Java in General forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Tim Cooke
  • Campbell Ritchie
  • Ron McLeod
  • Liutauras Vilda
  • Jeanne Boyarsky
Sheriffs:
  • Junilu Lacar
  • Rob Spoor
  • Paul Clapham
Saloon Keepers:
  • Tim Holloway
  • Tim Moores
  • Jesse Silverman
  • Stephan van Hulst
  • Carey Brown
Bartenders:
  • Al Hobbs
  • Piet Souris
  • Frits Walraven

jdbc

 
Greenhorn
Posts: 1
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
how to connect the jdbc oracle db with wasd tool
 
Ranch Hand
Posts: 1087
Oracle Spring Java
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
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..

Shailesh
 
Greenhorn
Posts: 12
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
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.


Thanks.
 
author & internet detective
Posts: 40912
840
Eclipse IDE VI Editor Java
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Madhukar,
Welcome to JavaRanch!

I'm going to move this thread to the IBM forum for you since it is more about WSAD than JDBC.
reply
    Bookmark Topic Watch Topic
  • New Topic