Oracle FAQ | Your Portal to the Oracle Knowledge Grid |
![]() |
![]() |
Home -> Community -> Usenet -> c.d.o.misc -> Re: Q: Connection String
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
![]() |
![]() |