Oracle FAQ | Your Portal to the Oracle Knowledge Grid |
![]() |
![]() |
Home -> Community -> Usenet -> c.d.o.server -> Re: A little help connecting to oracle from java. Anyone? Please!!? :-)
On Sat, 10 Aug 2002, noThanks_at_pdf.com wrote:
> Hi,
> I've tried the following two connection strings:
>
> DSN Version:
> String connectionString = "
> jdbc:oracle:thin:localhost:1521:daytonDSN";
>
> What I think is the Service Name version:
> String connectionString = "
> jdbc:oracle:thin:localhost:1521:dayton.homenet";
> also tried: String connectionString = "
> jdbc:oracle:thin:localhost:1521:DAYTON";
Try
jdbc:oracle:thin_at_localhost:1521:dayton
OR
jdbc:oracle:thin_at_localhost:1521:daytonDSN
The "@" is important.
-- Galen deForest Boyer Sweet dreams and flying machines in pieces on the ground.Received on Sat Aug 10 2002 - 22:15:32 CDT
![]() |
![]() |