Skip to content

JDBC Support #17

wants to merge 2 commits into from

5 participants

asm commented Apr 6, 2011

Hi Zdennis,
I've added jdbc-mysql support to your handy gem. Let me know if there's anything else I can do :)



There is a simple hack way of doing this.

In lib/activerecord-import/base.rb

Change this: require File.join(AdapterPath,"/#{adapter}_adapter")
Into this: require File.join(AdapterPath,"/#{adapter.sub("jdbc","")}_adapter") #Handle JRuby jdbc adapters.

It just strips out the jdbc part and everything works as expected for mysql or postgre

aselder commented Jan 27, 2012

+1 on this


+1 as well. Can this be merged in plz?


Is this no longer maintained?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Something went wrong with that request. Please try again.