Re: JDBC -- Help please

From: John Hatcher <john.hatcher_at_oracle.com>
Date: Tue, 21 Nov 2000 18:00:03 -0000
Message-ID: <hQyS5.11$5B2.4362_at_inet16.us.oracle.com>


Try the following:-

Change 'localhost' to the name of the database.
Change '1521' to the listening port number.
Change 'ORCL' to the SID of the database.


"\ \" <ambrosetati_at_ukgateway.net> wrote in message news:8v9d2i$goi$1_at_lure.pipex.net...
> Dear all,
> After several attempts with "jdbc:oracle:oci7:_at_localhost" with no
> luck, I tried
> using the thin driver instead, but no luck either. Where am I going
> wrong?
> I'm trying to connect to my Personal Oracle7 on Win98 using
 java1.2
> after downloading
> classes111.zip
>
> Please help.
>
> ....
> String connString = "jdbc:oracle:thin:_at_localhost:1521:ORCL";
> String pin = "Demo";
> Connection conn = DriverManager.getConnection(connString,pin,pin);
> ...
>
> Thanks in advance
> Ambrose
>
>
Received on Tue Nov 21 2000 - 19:00:03 CET

Original text of this message