Two Laptop Bag*
The moose likes JDBC and the fly likes type 4 driver syntax and how to connect to oracle with type 4 drivers Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Murach's Java Servlets and JSP this week in the Servlets forum!
JavaRanch » Java Forums » Databases » JDBC
Bookmark "type 4 driver syntax and how to connect to oracle with type 4 drivers" Watch "type 4 driver syntax and how to connect to oracle with type 4 drivers" New topic
Author

type 4 driver syntax and how to connect to oracle with type 4 drivers

mihir maniar
Ranch Hand

Joined: Sep 09, 2003
Posts: 88
i have just been throught the oracle site that it supports type 4 connectivity. so someone please guide me how to connect to oracle from a js page using type 4 drivers. do i have to look for some jar files in the pracle 9 installation that i need to specify in the classpath or is there a different approach to this scenario. please guide. thank you
Jeanne Boyarsky
internet detective
Marshal

Joined: May 26, 2003
Posts: 30076
    
149

Mihir,
Is "a js page" a typo for JSP or does it mean something else?

Regardless, yes you need to put the driver's jar in your classpath. And you probably have to update the URL connection string.


[Blog] [JavaRanch FAQ] [How To Ask Questions The Smart Way] [Book Promos]
Blogging on Certs: SCEA Part 1, Part 2 & 3, Core Spring 3, OCAJP, OCPJP beta, TOGAF part 1 and part 2
 
Don't get me started about those stupid light bulbs.
 
subject: type 4 driver syntax and how to connect to oracle with type 4 drivers
 
Similar Threads
java drivers
Drivers required
mysql drivers
How to connect Oracle with Java
Different Database Drivers