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: Q: Connection String

Re: Q: Connection String

From: Uwe Schneider <uwe.schneider_at_xlink.net>
Date: Thu, 25 Nov 1999 16:02:12 +0100
Message-ID: <383D4F74.48A578A6@xlink.net>


Hi,

Thenardier wrote:
>
> Hi all,
>
> I know that the connection string format looks like this:
>
> <DB type>:username/password@<protocol>:<servername>:<instance>

Probably you are talking about JDBC?

>
> This string assumes a client-server model.
>
> What if I'am using the client program and the database is
> in the same machine? Will the string be in this way?
>
> <DB type>:username/password
>
> in which protocol, servername and instance are missed out.

Looks exactly the same. Java relies on OCI or - better - on native sockets, therefore on TCP/IP. This protocoll does not distinguish between a local connection and remote. But you could replace your host name by "localhost".

Regards
--
uwe.schneider_at_xlink.net Received on Thu Nov 25 1999 - 09:02:12 CST

Original text of this message

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