On Mon, Nov 24, 2008 at 4:57 AM, Dan Kubb (dkubb) <[EMAIL PROTECTED]> wrote: > > Hi Krisian, > >> is the code you are talking about found >> here:http://github.com/sam/do.git/do_jdbc >> http://github.com/sam/do.git/jdbc_drivers >> or is it http://github.com/sam/do/tree/jdbc-use-ps >> >> but when I looked through the code I wondered that I did not see any >> datasource the preferred way to get a jdbc-connection - at least for >> me it is. so the question is whether some basic j2ee support is wanted >> like >> * Application server datasource may be used to provide JDBC >> connections via JNDI >> * Transactions integrate with application server transactions via JTA > > I think Alex Coles (myabc) would be the best person to know what the > state of the repositories and various branches are in. I haven't done > any of the work on JRuby, just trying to see where we are and who is > interested in helping get DM working with JRuby. > > Dan > (dkubb)
Kristian: Sorry for the slow response. Those are indeed the links/parts of the repo you should be looking at. I'll try to outline briefly what is where -- but I am aware that I need to follow up in more detail: * "jdbc-use-ps" is a branch containing an initial attempt to back DO queries with JDBC PreparedStatements. Attempt, though, is the operative work. It won't work though without some work on the DO API though -- which goes back to my mailing list posts back a few months back. * "do_jdbc" contains common Java code that is shared between each of the DO drivers JDBC versions. As a Gem it does little more than wrap a JAR containing support code. This gem was previously named "do_jdbc-support", a name I tend to prefer. * "jdbc_drivers" is a directory containing several gems in subdirectories and again doing nothing more than wrap the JDBC driver JARs into a Ruby gem. These should be organized as separate gems and required from the DO drivers as each of the JARs is licensed differently. This is also the approach activerecord-jdbc has taken. Alex --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "DataMapper" group. To post to this group, send email to [email protected] 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 -~----------~----~----~----~------~----~------~--~---
