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: Oracle connection with java

Re: Oracle connection with java

From: C. Ferguson <c_ferguson_at_rationalconcepts.com>
Date: Tue, 11 Sep 2001 17:40:46 GMT
Message-ID: <3B9E4CCB.7F9040C2@rationalconcepts.com>


Sounds like you need to start at the beginning:

1.http://technet.oracle.com/sample_code/tech/java/sqlj_jdbc/files/basic/basic.htm

2.http://java.sun.com/docs/books/tutorial/?frontpage-spotlight

And the driver doesn't care about the tnsnames.ora file. Look in your listener.ora file.

happy learning!
cindy

Screamer wrote:

> this is my tnsnames.ora
>
> PROD.WORLD =
> (DESCRIPTION =
> (SOURCE_ROUTE = YES)
> (ADDRESS_LIST =
> (ADDRESS = (PROTOCOL = TCP)(HOST = 192.168.254.250)(PORT = 1521))
> (ADDRESS = (PROTOCOL = TCP)(HOST = 192.168.0.6)(PORT = 1521))
> )
> (CONNECT_DATA = (SID = PROD))
> )
>
> What should my jdbc thin connection string be ?
Received on Tue Sep 11 2001 - 12:40:46 CDT

Original text of this message

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