Re: JDBC Connection

From: Sybrand Bakker <postbus_at_sybrandb.demon.nl>
Date: 12 Nov 2001 23:44:44 -0800
Message-ID: <a20d28ee.0111122344.6801e276_at_posting.google.com>


__ <davtsv20_at_hotmail.com> wrote in message news:<3BEF51BC.E6B819CD_at_hotmail.com>...
> Hello,
>
> I'm trying to test JDBC connections with 'JdbcCheckup.java' file that
> comes with Oracle 8i in the
> '$ORACLE_HOME/jdbc/demo/samples/oci8/basic-samples' directory.
>
> This is what I did:
>
> $ java JdbcCheckup
> Please enter information to test connection to the database
> user: system/manager
> database (a TNSNAME entry): sun0:1521:db0
[
snip]
>
> Could anyone please point my mistake?
>
> Thank you

Question : is sun0:1521:db0 a proper _TNSNAME_ entry? You're using the syntax for the thin driver, not for the oci8 driver.

Hth

Sybrand Bakker
Senior Oracle DBA Received on Tue Nov 13 2001 - 08:44:44 CET

Original text of this message