JDBCDriver-methods {RJDBC}R Documentation

Methods for the class JDBCDriver in Package ‘RJDBC’

Description

Methods for the class ‘JDBCDriver’ in Package ‘RJDBC’.

Most prominent method is dbConnect, it creates a new JDBC connection using the specified driver. From RJDBC 0.2-9 on the driver takes precedence over DriverManager, because DriverManager is static and is not capable of finding drivers dynamically. DriverManager is now only used if the driver is a NULL-driver, i.e., JDBC(NULL).

There are only two positional properties user='' and password='' neither of which will be set if empty. All other arguments are treated as additional properties passed to the connection (except when DriverManager is used).

Additional arguments to dbConnect() properties are set

dbListConnections always return NULL with a warning, because JDBC connections are not tracked.

dbGetInfo returns very basic information, because the JDBC driver is not loaded until a connection is created.

dbUnloadDriver is a no-op in the current implementation, because drivers are never removed from the JVM.

Methods

dbConnect

signature(drv = "JDBCDriver", ...)

dbListConnections

signature(drv = "JDBCDriver", ...)

dbGetInfo

signature(drv = "JDBCDriver", ...)

dbUnloadDriver

signature(drv = "JDBCDriver", ...)


[Package RJDBC version 0.2-11 Index]