File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
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
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: 30506
    
150

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
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: type 4 driver syntax and how to connect to oracle with type 4 drivers