Oracle FAQ | Your Portal to the Oracle Knowledge Grid |
Home -> Community -> Usenet -> c.d.o.server -> Login Via JDBC
Hello all,
Our university is running a Oracle8i JServer, but it's only for educational purpose. So after we login our UNIX account, where the database server is running, we just need to type "sqlpuls /" to login the database.
Say the UNIX server is foo.bar.edu, how do I open a database connection via the JDBC driver on a NT box? Is it something like
Connection conn = DriverManager.getConnection ("jdbc:oracle:oci8:@foo:bar:edu", "unixusername", "unixpassword");
I'm at home now and our uni's firewall blocks outside connections, that's why I can't try this out immediately. But could someone confirm this for me?
Thanks.
-- Yiu WingReceived on Wed Mar 06 2002 - 04:58:29 CST