>>@xxxx1:1521:DS1A
I thought that using the tns connect string was supposed to work, but now
that you
mention it, that format may be necessary for the thin driver (we normally
use the oci driver).
Thanks.
-----Original Message-----
From: Gary Bartlett [mailto:[EMAIL PROTECTED]]
Sent: Friday, May 05, 2000 4:50 AM
To: Turbine
Subject: Re: problem reading from visitor table
Carl -
I have been able to connect to Oracle using the thin driver - but my URL is
setup as follows:
database.default.url=jdbc:oracle:thin:@xxxx1:1521:DS1A
where xxxx is my host name, 1521 is the port and DS1A is the Oracle SID.
Your setup below doesn't have the same parameters - perhaps there are
defaults
for the port and sid and you are taking those - but I don't know for sure.
>
> #### ORACLE
> database.default.driver=oracle.jdbc.driver.OracleDriver
> database.default.url=jdbc:oracle:thin:@test.world
You might also want to verify that you have the Oracle classes in your class
path ( I know an obvious point).
Finally you could verify that you have access with a simple standalone
program -
a couple of examples come with the oracle download. Also I use Forte For
Java
as an IDE and it comes with some live database support - so you can verify
connectivity to you database from within the IDE.
Good Luck.
Gary Bartlett
------------------------------------------------------------
To subscribe: [EMAIL PROTECTED]
To unsubscribe: [EMAIL PROTECTED]
Problems?: [EMAIL PROTECTED]
------------------------------------------------------------
To subscribe: [EMAIL PROTECTED]
To unsubscribe: [EMAIL PROTECTED]
Problems?: [EMAIL PROTECTED]