Displaying 2 results from an estimated 2 matches for "jgetex".
Did you mean:
jadetex
2007 Sep 27
2
rJava and RJDBC
...quire(RJDBC)
classPath='C:\\libraries\\mysql-connector-java-5.1.3-rc\\mysql-connector-java-5.1.3-rc-bin.jar'
driverClass=c("com.mysql.jdbc.Driver")
drv <- JDBC(c("com.mysql.jdbc.Driver"),classPath,"`")
This returns a NULL value and a java exception.
> .jgetEx()
[1] "Java-Object{java.lang.ClassNotFoundException: com.mysql.jdbc.Driver}"
my java version is
> .jcall('java.lang.System','S','getProperty','java.version')
[1] "1.6.0_02"
jre
When I use java 1.5.0_11 jre I have the same problem but the .jg...
2012 Oct 04
1
Intermittent connectivity issues for 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:oracle:thin:@192.168.3.10:1521:psrndpt1","myuser","mypass")
When I run the file - sometimes it works, returning NULL, and sometimes it
hangs for between 1 and 2.5 minutes before throwing an error. The database
is new and sta...