Displaying 2 results from an estimated 2 matches for "ojdbc6".
Did you mean:
odbc
2010 Nov 24
1
RJDBC doesn't load Oracle driver?
...ux and using it successfully with mySQL
JDBC driver i am trying to use it with Oracle database. I use the JDBC
driver that works fine elsewhere (use it in DBVizualizer). However, when i
try to load the driver,
drv<-JDBC("oracle.jdbc.driver.OracleDriver",
"/home/az05625/DBdrivers/ojdbc6.jar", identifier.quote="`")
it gives me error message
Error in .jfindClass(as.character(driverClass)[1]) :
java.lang.UnsupportedClassVersionError: Bad version number in .class file
One would think that this has to do with JRE older than the JDBC driver, but
i use the same JRE...
2012 Oct 04
1
Intermittent connectivity issues for JDBC / Oracle
...anging when connecting to
an Oracle database. To help debug, I found a function here in the nabble
forum and made a small test script:
#!/usr/bin/Rscript --no-restore --no-save --no-init-file
library("RJDBC")
drv<-JDBC("oracle.jdbc.OracleDriver","/home/oracle/lib/ojdbc6.jar", "'")
dbCheck = function(url, user='', pwd='') {
j = .jcall("java/sql/DriverManager", "Ljava/sql/Connection;",
"getConnection", url, user, pwd, check=FALSE)
x = .jgetEx()
.jcheck()
x
}
dbCheck("jdbc:...