Oracle FAQ | Your Portal to the Oracle Knowledge Grid |
Home -> Community -> Usenet -> c.d.o.server -> Re: JDBC question.
Hi,
the thin driver only works with TCP/IP protocal.
Check out the JDBC/OCI driver. You might have better luck.
cheers,
cindy
laulau823_at_my-deja.com wrote:
> Hello all,
>
> I am using JDK1.2.1, Oracle JDBC driver 8.0.4.0.0, Oracle 8i server
> on Windows NT platform.
>
> If I install TCP/IP protocol and the following function call is
> successful (run in DOS prompt):
>
> DriverManager.getConnection("jdbc:oracle:thin:@localhost:1521:orcl","sco
> tt", "tiger");
>
> Now, I am using Bequeath protocol but no any other networking
> protocol installed. However, I don't know how to connect with Oracle
> server by using the above function. Did anyone know how to connect with
> the server with getConnection?
>
> Thansk,
> David
>
> Sent via Deja.com http://www.deja.com/
> Before you buy.
Received on Sat Feb 12 2000 - 13:22:08 CST