Oracle FAQ | Your Portal to the Oracle Knowledge Grid |
Home -> Community -> Usenet -> c.d.o.server -> Re: Oracle connection with java
HI!
Connection string should sounds like this
"jdbc:oracle:thin:@(description=(address=(host=SERVERIPADDRESS)(protocol=tcp )(port=1521))(connect_data=(sid=PROD)))"
Marko
"Screamer" <mflopes_at_bigfoot.com> wrote in message
news:9nl7o8$r87$1_at_venus.telepac.pt...
> 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 Mon Sep 17 2001 - 03:59:23 CDT