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: A little help connecting to oracle from java. Anyone? Please!!? :-)

Re: A little help connecting to oracle from java. Anyone? Please!!? :-)

From: Galen Boyer <galenboyer_at_hotpop.com>
Date: 10 Aug 2002 22:15:32 -0500
Message-ID: <ufzxlrk4a.fsf@hotpop.com>


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

Original text of this message

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