Skip to content

Releases: Alipsa/r2jdbc

Ver 10.0.25

04 Feb 10:20
Compare
Choose a tag to compare
  • Removed dependency on Joda Time
  • Make dateTime retrieval more robust
  • Upgrade jdbc drivers used in test

Ver 10.0.24

29 Jan 18:17
Compare
Choose a tag to compare
  • Upgrade h2 dependency
  • Workaround for RowNamesVector changes in renjin master compared to 0.9.2716 (now works in all versions)
  • upgrade slf4j version
  • upgrade testcontainers versions

Ver 10.0.23

07 Jan 15:48
Compare
Choose a tag to compare
  • upgrade dependencies (h2, maven site plugin)
  • improve bigint support for postgresql (when detected as int8)
  • add support for bigserial

Ver 10.0.22

14 Dec 17:13
Compare
Choose a tag to compare
  • Add support for CHARACTER VARYING data type (e.g. H2)
  • Version bump of dependencies.

Ver 10.0.21

10 Mar 19:07
Compare
Choose a tag to compare
  • mysql has a BIGINT UNSIGNED type; treat it as a regular BIGINT for now.
  • Version bump of dependencies.

Ver 10.0.20

17 Dec 18:22
Compare
Choose a tag to compare

Add support for the "name" datatype (e.g. in postgresql). To use r2jdbc in Renjin R, add the following dependencies:

<dependency>
        <groupId>org.renjin.cran</groupId>
        <artifactId>DBI</artifactId>
        <version>1.0.0-b9</version>
</dependency>
<dependency>
        <groupId>se.alipsa</groupId>
        <artifactId>R2JDBC</artifactId>
        <version>10.0.20</version>
</dependency>
<dependency>
        <groupId>joda-time</groupId>
        <artifactId>joda-time</artifactId>
        <version>2.10.5</version>
</dependency>

Ver 10.0.19

02 Jul 18:29
Compare
Choose a tag to compare

Fix for Sql server when url contains username/password. Add unit tests using TestContainer with Docker. Version bump of dependencies. To use r2jdbc in Renjin R, add the following dependencies:

<dependency>
        <groupId>org.renjin.cran</groupId>
        <artifactId>DBI</artifactId>
        <version>1.0.0-b9</version>
</dependency>
<dependency>
        <groupId>se.alipsa</groupId>
        <artifactId>R2JDBC</artifactId>
        <version>10.0.19</version>
</dependency>
<dependency>
        <groupId>joda-time</groupId>
        <artifactId>joda-time</artifactId>
        <version>2.10.2</version>
</dependency>

Ver 10.0.18

04 May 18:12
Compare
Choose a tag to compare

Add support for datetimeoffset datatype. Published on maven central.

Dependency Example for maven:

<dependency>
    <groupId>se.alipsa</groupId>
    <artifactId>R2JDBC</artifactId>
    <version>10.0.18</version>
</dependency>
<dependency>
      <groupId>org.renjin.cran</groupId>
      <artifactId>DBI</artifactId>
      <version>1.0.0-b9</version>
      <scope>provided</scope>
</dependency>
<dependency>
      <groupId>joda-time</groupId>
      <artifactId>joda-time</artifactId>
      <version>2.10.1</version>
      <scope>provided</scope>
</dependency>

<!-- a the JDBC driver of choice depending on what database you are connecting to -->
<dependency>
      <groupId>org.apache.derby</groupId>
      <artifactId>derby</artifactId>
      <version>10.14.2.0</version>
      <scope>test</scope>
</dependency>

Example usage:

library("org.renjin.cran:DBI")
library("se.alipsa:R2JDBC")

drv <- JDBC("com.microsoft.sqlserver.jdbc.SQLServerDriver")
con <- dbConnect(drv
  , url="jdbc:sqlserver://mydbserver:1433;databaseName=fancy;"
  , user="mmbla"
  , password="s3cretpassword"
)

# Execute the query:
fancyDf <- dbGetQuery(con, "Select * from sometable")
dbDisconnect(con)

# Do some stuff with the data frame:
str(fancyDf)
m_fancyDf <- colMeans(fancyDf)

Ver 10.0.17

24 Apr 18:56
Compare
Choose a tag to compare

Fix for boolean datatype on postgres (announced as "bool" type)

First release of fork

12 Apr 15:21
Compare
Choose a tag to compare

R2JDBC is a renjin extension providing database connectivity. It is Based on the renjin-dbi (https://github.com/bedatadriven/renjin-dbi). Most of the changes consists of support for more data types.