views:

55

answers:

2

Hey

I work in a big company and need to connect to a oracle database. It is set up so that i can connect to it through DSN, but I would like to connect to the db directly. How do i do that, when the only information I have is the name of the db and the username and password. It works fine through dsn.

+1  A: 

Check out jdbc-tutorial.

Hank Gay
no solution there
You can't connect without knowing more info. Check out the definition of the DSN - it obviously has more info.
Hank Gay
A: 

Most the Java developers I know use JDBC Thin Client to connect. You need user/pass, hostname and database id and you should be able to connect.

Ethan Post
But I dont have host, thats my problem...