Win a copy of The Little Book of Impediments (e-book only) this week in the Agile and Other Processes forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

jdbc and oracle

 
jacq carballo
Ranch Hand
Posts: 42
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Scenario:
Development machine: Windows 2000 no Oracle
Test machine: Unix with Oracle 8i.
Is there a way for me to connect to the oracle db without installing the oracle client software in the development machine? If yes, how? If not, never mind to answer my post. Thanks in advance.
 
Nigel Browne
Ranch Hand
Posts: 703
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
You could use telnet to connect to the unix machine and then use sqlplus within your telnet session.
 
Jamie Robertson
Ranch Hand
Posts: 1879
MySQL Database Suse
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
you could do the same in java using the thin drivers... but then you would have to download the drivers and add the file to your classpath.
Jamie
 
jacq carballo
Ranch Hand
Posts: 42
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
you could do the same in java using the thin drivers... but then you would have to download the drivers and add the file to your classpath.
i did download the drivers but then when i add the files to my classpath. The application would come out with:
Exception in thread "main" java.lang.NoClassDefFoundError: dataDB
If i remove the files from my classpath, some other error comes out but it is related to the Oracle url. I am not sure if this next error comes from not including the files to my classpath though.
TIA
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic