This week's book giveaway is in the JavaScript forum.
We're giving away four copies of Svelte and Sapper in Action and have Mark Volkmann on-line!
See this thread for details.
Win a copy of Svelte and Sapper in Action this week in the JavaScript forum!
  • 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
  • Ron McLeod
  • Paul Clapham
  • Bear Bibeault
  • Junilu Lacar
Sheriffs:
  • Jeanne Boyarsky
  • Tim Cooke
  • Henry Wong
Saloon Keepers:
  • Tim Moores
  • Stephan van Hulst
  • Tim Holloway
  • salvin francis
  • Frits Walraven
Bartenders:
  • Scott Selikoff
  • Piet Souris
  • Carey Brown

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.
 
He does not suffer fools gladly. But this tiny ad does:
Building a Better World in your Backyard by Paul Wheaton and Shawn Klassen-Koop
https://coderanch.com/wiki/718759/books/Building-World-Backyard-Paul-Wheaton
    Bookmark Topic Watch Topic
  • New Topic