Win a copy of The Little Book of Impediments (e-book only) this week in the Agile and Other Processes forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

connection to db

 
rohithrs
Greenhorn
Posts: 12
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi.,

can any one tell..,
how to connect oracle10g db from eclipse3.2?
 
Paul Sturrock
Bartender
Posts: 10336
Eclipse IDE Hibernate Java
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Do you mean from code or from an eclipse plugin? (if its the latter, which one?)
 
rohithrs
Greenhorn
Posts: 12
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Originally posted by Paul Sturrock:
Do you mean from code or from an eclipse plugin? (if its the latter, which one?)


ya from code and also eclipse plugin?
 
Paul Sturrock
Bartender
Posts: 10336
Eclipse IDE Hibernate Java
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
From code: check out the Oracle documentation for JDBC. This has examples.

From a plugin: which one? Or are you unsure which plugin to use?
 
rohithrs
Greenhorn
Posts: 12
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Originally posted by Paul Sturrock:
From code: check out the Oracle documentation for JDBC. This has examples.

From a plugin: which one? Or are you unsure which plugin to use?


has i know its j2ee plugin? ... but im not sure
 
Paul Sturrock
Bartender
Posts: 10336
Eclipse IDE Hibernate Java
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
There are more than one j2ee plugins for eclipse. And there are more than one database plugins for eclipse. Do you have a specific one in mind, or are you unsure which to use?
 
rohithrs
Greenhorn
Posts: 12
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
i installed eclipse3.2 ver in my system and oracle10g client ver ... in(another system )OS-linux , and oracle10g for database....

so from eclipse how config for database connection ..... and give me a code
 
Paul Sturrock
Bartender
Posts: 10336
Eclipse IDE Hibernate Java
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Well the code is already covered (see my earlier link to the Oracle JDBC documentation - this included examples).

As for connecting via eclipse: as Mark has already written in your cross post, choose yourself a suitable database plugin (see here) and follow the documentation. If you get stuck, feel free to ask questions here, but without a more specific question we can't really give a more specific answer.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic