search for: driverclass

Displaying 8 results from an estimated 8 matches for "driverclass".

2007 Sep 27
2
rJava and RJDBC
...rying to get the RJDBC and rJava .5to work on both my windows xp and linux Redhat EL5 Server. On both I get a ava.lang.ClassNotFoundException when calling JDBC(). My example is require(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(...
2007 Jun 14
0
connecting to db2 via RJDBC
Hello, I seem to have issues with setting the driver: My code: library(RJDBC) getStatic <- function() { # set driver driverClass <- JDBC("com.ibm.db2.jcc.DB2Driver","someClassPath.jar","'") conn <- dbConnect(driverClass,"serverName") etc etc } I get this error > data <-getData() Exception in thread "main" java.sql.SQLException: No suitable...
2009 Aug 06
1
Help ::Not able to Connect R to SQL Server 2000
...en it throwing some class not found error. I tried the below script for R and try to connect to SQL Server 2000. > library(rJava) > library(DBI) > library(RJDBC) > drv<-JDBC("com.microsoft.jdbc.sqlserver.SQLServerDriver") Error in .jfindClass(as.character(driverClass)[1]) : class not found Can you please help me in this? Thanks to you. Regards. BS [[alternative HTML version deleted]]
2010 Nov 24
1
RJDBC doesn't load Oracle driver?
...river 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 for the application that connects successfully and for RJDBC, namely java version "1.6.0_10" Java(TM) SE R...
2011 Jun 26
1
RJDBC and multiple classpaths
...opt/DbVisualizer-7.1.1/jdbc/mdb/commons_lang.jar") > .jaddClassPath("/opt/DbVisualizer-7.1.1/jdbc/mdb/commons_logging.jar") > > drv <- JDBC("jstels.jdbc.mdb.MDBDriver", "/opt/DbVisualizer-7.1.1/jdbc/mdb/mdbdriver.jar") Error in .jfindClass(as.character(driverClass)[1]) : java.lang.NoClassDefFoundError: org/apache/log4j/PropertyConfigurator As you see I have added the log4j with .jaddClassPath. What is wrong? Caveman [[alternative HTML version deleted]]
2008 Jun 02
1
RJDBC cant find driver class in JDBC jar file
...R and MySQL. This set-up was recommended by a friend who uses this set up, but I have been unable to get RJDBC to work. I have installed all of the software today (June 2 2008), first deleting and then replacing old versions of software. The error is as follows: Error in .jfindClass(as.character(driverClass)[1]) : class not found This error is produced after running the following code (): library(RJDBC) drv <- JDBC("com.mysql.jdbc.Driver", "/etc/jdbc/mysql-connector-java-5.1.6-bin.jar", identifier.quote="`") This code was modified from code at...
2009 Apr 01
1
VAR with binary endogenous variables
Hi all! Does anyone know if a vector autoregression package is avaialable that allows binary variables as part of the endogenous system? I'm looking for something along the lines of what is implemented in "Dynamic Forecasts of Qualitative Variables: A Qual VAR Model of US Recessions" by Michael Dueker, 2003, Fed Reserve Bank of St. Louis. Another possibility is the autoregressive
2011 Feb 03
3
Reg : read missing values from database using RJDBC
Hi R-helpers, i am using the following dataset.This dataset is stored in a mysql database. W(x) pH(y) 10 1 15 1 20 4 5 7.5 3 13 9 5 11.5 13.5 3 16 2 1 9.6 1 I am using RJDBC package to read the data from the database into a dataFrame.The commands used are, jdbcDriver<-JDBC(driverClass="com.mysql.jdbc.Driver", classPath="E:/PAS/trunk/lib/mysql-connector-java-5.1.13-bin.jar", identifier.quote = NA) conn<-dbConnect(jdbcDriver,"jdbc:mysql://localhost/mysql","root","sa") dbSendQuery(conn,"SET TRANSACTION ISOLATION LEVEL READ U...