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: Sybrand Bakker <postbus_at_sybrandb.demon.nl>
Date: Wed, 06 Mar 2002 19:12:04 +0100
Message-ID: <1umc8uclvj0r3pdf2enjighj31ot8m4pmk@4ax.com>


On Wed, 6 Mar 2002 10:58:29 -0000, "Yiu Wing" <yiuwing.yip_at_virgin.net> wrote:

>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.

Anything wrong with confirming this yourself in the documentation, online at http://tahiti.oracle.com or http://otn.oracle.com ?

Regards

Sybrand Bakker, Senior Oracle DBA

To reply remove -verwijderdit from my e-mail address Received on Wed Mar 06 2002 - 12:12:04 CST

Original text of this message

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