Skip to content
OpenEdge JDBC driver loader
Branch: master
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Type Name Latest commit message Commit time
Failed to load latest commit information.


This gem abstracts away the require statements for loading the Progress DataDirect OpenEdge JDBC client drivers. It's useful for supporting multiple versions of OpenEdge that have differing .jar file loading requirements.

Unfortunately, the drivers themselves cannot be stored in this gem as they are proprietary. They can typically be found in an OpenEdge installation directory under $DLC/java.


Add the gem to your Gemfile for whichever version corresponds to your OpenEdge version (note: don't use the spermy operator, ~>):

gem "jdbc-openedge", "11.1"

Then add the necessary .jar files to your Java $CLASSPATH, and in your code do

require 'jdbc/openedge'

to make the driver accessible to JDBC code running in JRuby.

OpenEdge Versions Supported

The following OE versions are currently supported:

OE Version .jar files required in $CLASSPATH
  • openedge.jar
  • openedge.jar
  • openedge.jar
  • pool.jar1
  • base.jar
  • openedge.jar
  • pool.jar
  • base.jar
  • openedge.jar
  • util.jar

1 The released 10.2B gem requires pool.jar, even though technically it shouldn't be required to load the DataDirect JDBC driver. This was a mistake on my part, which cannot be undone for the 10.2B gem version as RubyGems gem versions are permanent. A simple workaround if you don't have pool.jar would be to just use a blank file, e.g. cd <somewhere in $CLASSPATH>; touch pool.jar.

Support for other versions can be done on an as-needed basis, if anyone else besides me ever uses this gem (pull requests accepted).

You can’t perform that action at this time.