Patches: Browse | Submit New | Admin
Here is the code I have written for creating a driver for JDBC that runs under JRuby. I have not attached any licensing information to the files. Please add whatever licensing information is appropriate for the DBI project. I also note that there is currently an issue using DBI's setup.rb file to install on JRuby, I believe due to JRuby's lack of directories for native files, although I haven't gotten a chance to look into it in detail. The error arises even when installing DBI standalone and no native files need to be copied. I wanted to make sure you knew that until this issue is fixed either on DBI or JRuby end, the only way to install is to manually place the Jdbc dir under the DBD dir. I don't know if some of the repackaging work that's being done can aim to address this, or if you want me to look into it and propose a patch for setup.rb, or you want me to bring up the nonconformant directory structure with the JRuby guys, etc. Please let me know (if you want I'll post this issue in the bug tracker).
Add A Comment:
Date: 2008-10-10 00:37 Sender: Erik Hollensbe Wow, excellent! Thank you, this was very far down on my priority list. :) I'll leave this open until I can refresh the documentation with a pointer to your project.
Date: 2008-10-09 18:50 Sender: Ola Bini Just wanted to let you know that I've refreshed this code and added it to the jruby-extras project, plus I've created a first gem that can be installed.
Date: 2008-07-28 03:20 Sender: Erik Hollensbe I know this is a longshot, but DBI 0.4.0 is going to be able to be hosted from rubygems, and the DBDs will be gemmed independently, allowing others to supply DBDs that work with DBI with minimal effort. Would you be interested (or perhaps someone else) in maintaining this separately?
Date: 2007-03-13 16:02 Sender: Uwe Hartl Hi Kristopher, in JdbcTypeConversions.rb the line when Types::BIGINT then DBI::BIGINT needs to be changed into when Types::BIGINT then DBI::SQL_BIGINT to work. I'll try your jdbc stuff. It would be really cool if it works. Greetings Uwe
Date: 2006-11-19 18:56 Sender: Kristopher Schmidt Hmm, even though my .tar.gz file is valid, when I tried to download it from the site it came out invalid. So, I'll post the files individually in case there was a problem with the upload.