Oracle FAQ Your Portal to the Oracle Knowledge Grid
HOME | ASK QUESTION | ADD INFO | SEARCH | E-MAIL US
 

Home -> Community -> Usenet -> c.d.o.server -> Re: Login Via JDBC

Re: Login Via JDBC

From: santosh sharma <santysharma_at_yahoo.com>
Date: Wed, 6 Mar 2002 10:32:23 -0800
Message-ID: <a65nhb$anqfb$1@ID-84096.news.dfncis.de>


jdbc:oracle:oci8:@<tnsname>
hth
santysharma

"Yiu Wing" <yiuwing.yip_at_virgin.net> wrote in message news:AGnh8.109009$Ah1.14978998_at_news2-win.server.ntlworld.com...
> 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 Wing
>
>
>
>
Received on Wed Mar 06 2002 - 12:32:23 CST

Original text of this message

HOME | ASK QUESTION | ADD INFO | SEARCH | E-MAIL US