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_at_xlink.net>
Date: Thu, 25 Nov 1999 16:02:12 +0100
Message-ID: <383D4F74.48A578A6_at_xlink.net>
Hi,
Thenardier wrote:
>
> Hi all,
>
> I know that the connection string format looks like this:
>
> <DB type>:username/password_at_<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.netReceived on Thu Nov 25 1999 - 16:02:12 CET