aspose file tools*
The moose likes JDBC and the fly likes connection to db Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Databases » JDBC
Bookmark "connection to db" Watch "connection to db" New topic
Author

connection to db

rohithrs
Greenhorn

Joined: Mar 11, 2008
Posts: 12
Hi.,

can any one tell..,
how to connect oracle10g db from eclipse3.2?
Paul Sturrock
Bartender

Joined: Apr 14, 2004
Posts: 10336

Do you mean from code or from an eclipse plugin? (if its the latter, which one?)


JavaRanch FAQ HowToAskQuestionsOnJavaRanch
rohithrs
Greenhorn

Joined: Mar 11, 2008
Posts: 12
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

Joined: Apr 14, 2004
Posts: 10336

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

Joined: Mar 11, 2008
Posts: 12
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

Joined: Apr 14, 2004
Posts: 10336

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

Joined: Mar 11, 2008
Posts: 12
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

Joined: Apr 14, 2004
Posts: 10336

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.
 
Don't get me started about those stupid light bulbs.
 
subject: connection to db