▽Brian McCallister ●11/29 18:03 Home Contact GPG Key RSS Atom Brian’s Waste of Time Sun, 15 Mar 2009 jDBI in JRuby By lucky happenstance, the interfaces and idioms of jDBI work very nicely with JRuby’s coercion from Ruby to Java. require ’jruby’ require ’derby-10.4.2.0.jar’ require ’jdbi-2.2.2.jar’ dbi = org.skife.jdbi.v2.DBI.new(”jdbc:derby:/tmp/woof;create=true”) dbi.withHandle do |h| h.createQuery(”select name from woof”).eac