Re: Oracle connection with java

From: Somaiah Kumbera <somaiah_at_yahoo.com>
Date: Sat, 20 Oct 2001 20:36:58 GMT
Message-ID: <JflA7.336$V87.249524420_at_newssvr21.news.prodigy.com>


or this:

jdbc:oracle:thin:_at_192.168.254.250:1521:prod

C. Ferguson <c_ferguson_at_rationalconcepts.com> wrote in message news:3B9E4CCB.7F9040C2_at_rationalconcepts.com...
> Sounds like you need to start at the beginning:
>
>

1.http://technet.oracle.com/sample_code/tech/java/sqlj_jdbc/files/basic/basi c.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 Sat Oct 20 2001 - 22:36:58 CEST

Original text of this message