Win a copy of Programmer's Guide to Java SE 8 Oracle Certified Associate (OCA) this week in the OCAJP forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

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

 
mihir maniar
Ranch Hand
Posts: 88
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
author & internet detective
Marshal
Posts: 34837
369
Eclipse IDE Java VI Editor
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic