On Sun, Nov 30, 2008 at 4:56 PM, Nick Sieger <[EMAIL PROTECTED]> wrote: > On Sun, Nov 30, 2008 at 8:49 AM, Alex Coles <[EMAIL PROTECTED]> wrote: >> When I started out on JDBC support we weren't using Hoe, and >> activerecord-jdbc-adapter had slightly older versions of the JDBC >> driver JARs in their repository (I wanted to start out by coding >> against the latest versions). However, we're now also using Hoe. The >> only thing I did differently/on top of what the >> activerecord-jdbc-adapter team are doing, is my addition of a custom >> 'buildr' buildfile as a tool for going out and pulling the latest JARs >> from Maven repositories. >> >> Kristian asked why we're duplicating effort here, and if there are any >> political reasons for this. The answer is unequivocally no. So the >> question is to DM list whether we're OK with getting rid of our own >> JDBC driver Gem wrappers, and using those provided by the >> activerecord-jdbc-adapter? >> >> It would save us from having to publish yet more gems (do_jdbc-derby, >> do_jdbc-mysql, etc.) with each DO/DM release: Instead it'll be a >> matter of depending on what the AR-JDBC project has already published: >> >> jruby -S gem install jdbc-derby >> jruby -S gem install jdbc-mysql >> jruby -S gem install jdbc-postgres >> etc. >> >> I've copied Nick Sieger who did maintains activerecord-jdbc-adapter to >> give him a heads up on this. > > I don't expect that you'd need to release driver gems very often; I've > only done it once since I built them out that way. I'd be fine with > upgrading most to the latest versions, with the possible exception of > mysql: I've found some incompatible behaviour in later releases of the > 5.0.x series that broke my apps, so I'm sticking with 5.0.4 for now. > > Let me know which ones you'd like to upgrade and I'd be happy to help with it.
Hi Nick: Thanks for your help with this. I am going to push the commit that removes the drivers from our repo later today. For reference, these were the versions that we were using: derby-10.4.1.3 h2-1.0.77 hsqldb-1.8.0.7 mysql-connector-java-5.0.8-bin postgresql-8.3-603.jdbc3 sqlite-jdbc-3.6.0.jar In most cases they are newer versions than you are provided. However, I will defer to you and your judgement, and I don't see any need to upgrade the versions just for the moment as we are not yet far along enough (our JDBC versions are not passing all specs) to be able to dig into compatibility issues between minor versions. Thanks! Alex --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "DataMapper" group. To post to this group, send email to datamapper@googlegroups.com To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/datamapper?hl=en -~----------~----~----~----~------~----~------~--~---