Win a copy of The Little Book of Impediments (e-book only) this week in the Agile and Other Processes forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

JDBC Connection without DSN .and Type 4 Driver

 
Ranganath .S.Junpal
Ranch Hand
Posts: 52
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi all,

Firstly i would like to know where can i download a free jdbc type4 Driver. and the process to use it with oracle 8i without DSN. I am using Tomcat 4.1.
I am using a External File called database.properties where it will have the details about the driver name and its url as follows

#### JDBC CONNECTIVITY ####
olrt.database.drivername=com.microsoft.jdbc.sqlserver.SQLServerDriver
olrt.database.url=jdbc:microsoft:sqlserver://10.50.1.16:1433;DatabaseName=Sample;SelectMethod=cursor;
olrt.database.username=sa
olrt.database.password=admin


%######################

where olrt happens to be a package.
My question is how to provide the olrt.database.url for the driver for oracle as its mentioned for sql above.

secondly how does my driver gel with the database.. or how does my driver gets to know about my database.


Expecting your replies at the earliest

Thank you

Ranganath
 
Alec Lee
Ranch Hand
Posts: 569
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Oracle's type 4 driver (purely java) is available freely in www.oracle.com.
It is called thin driver.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic