Skip to content
Prev 1099 / 1559 Next

dbUnloadDriver() fails for RJDBC

I have the following:

----------------------------------------
[1] "jdbc:oracle:thin:@myhost.domain:1521:dbname"
[1] "path.to.oracle/instantclient_10_2/ojdbc14.jar"
An object of class "JDBCDriver"
Slot "identifier.quote":
[1] "`"

Slot "jdrv":
[1] "Java-Object{oracle.jdbc.OracleDriver at 6262937c}"
An object of class "JDBCConnection"
Slot "jc":
[1] "Java-Object{oracle.jdbc.driver.T4CConnection at 35c0e45a}"

Slot "identifier.quote":
[1] "`"
[1] TRUE
Error in .valueClassTest(standardGeneric("dbUnloadDriver"), "logical",  :
  invalid value from generic function "dbUnloadDriver", class "NULL",
expected "logical"
----------------------------------------

This is of course not a big problem; I don't absolutely have to unload the
driver. But it should succeed, shouldn't it?
R version 2.13.1 (2011-07-08)
Platform: x86_64-apple-darwin9.8.0/x86_64 (64-bit)

locale:
[1] C

attached base packages:
[1] stats     graphics  grDevices utils     datasets  methods   base

other attached packages:
[1] RJDBC_0.2-0 rJava_0.9-1 DBI_0.2-5

loaded via a namespace (and not attached):
[1] tools_2.13.1



Thanks
-Don