• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

JDBC

 
Laurence Jennings
Greenhorn
Posts: 3
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hello all!! I just started using Forte and cannot get the oracle.jdbc.driver to be imported!!! I set have done the following:
- set classpath
- set path
- copied the class files into the [forte home]\lib\ext directory
- restarted Forte
My sun.jdbc.odbc.JDBCODBCDriver works and when I go into the runtime tab I can connect test the thin driver and that also works. I just cannot get the class to be imported/loaded in a small program that I wrote.
Any help would be appreciated!!!
 
Michael Matola
whippersnapper
Ranch Hand
Posts: 1817
4
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Mission,
Please take another look at the JavaRanch Naming Policy. We'd like to have you continue posting here, so please update your display name. You can do so here.
 
David O'Meara
Rancher
Posts: 13459
Android Eclipse IDE Ubuntu
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
The Oracle JDBC libraries are usually have a .zip extension, and will only usually be loaded if it has a .jar extension.
In many cases it's just a case of renaming the file to have a .jar extension.
One other 'Gotcha' you might run into is that for web apps, the jars need to be in the [server]/lib or [webapp]/lib directory.
Dave
 
Laurence Jennings
Greenhorn
Posts: 3
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Sorry about the naming policy. I not really familiar with posting's like this, but I appreciate the advise.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic