Skip to content

JDBC Support #17

Open
wants to merge 2 commits into from

5 participants

@asm
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 :)

Cheers,
-Jason

@maxdemarzi

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
aselder commented Jan 27, 2012

+1 on this

@camertron

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

@lobo-tuerto

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.