• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Bear Bibeault
  • Paul Clapham
  • Jeanne Boyarsky
  • Knute Snortum
Sheriffs:
  • Liutauras Vilda
  • Tim Cooke
  • Junilu Lacar
Saloon Keepers:
  • Ron McLeod
  • Stephan van Hulst
  • Tim Moores
  • Tim Holloway
  • Carey Brown
Bartenders:
  • Joe Ess
  • salvin francis
  • fred rosenberger

JDBC Connection without DSN .and Type 4 Driver

 
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
 
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.
 
Evildoers! Eat my justice! And this tiny ad's justice too!
Java file APIs (DOC, XLS, PDF, and many more)
https://products.aspose.com/total/java
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!