Getting a java connection from ar-jdbc

Hi,

I'm using rails with AR-JDBC. Since my rails apps uses some

libraries that require I give them jdbc connections, I’m wondering if
there’s a way to get a java db connection from it ?

thanks,
Ricardo


To unsubscribe from this list, please visit:

http://xircles.codehaus.org/manage_email

On Thu, Jul 17, 2008 at 9:51 AM, Ricardo T.
[email protected] wrote:

Hi,

I’m using rails with AR-JDBC. Since my rails apps uses some libraries that
require I give them jdbc connections, I’m wondering if there’s a way to get
a java db connection from it ?

Sure, I think ActiveRecord::Base.connection.connection should give you
the JDBC connection object.

/Nick


To unsubscribe from this list, please visit:

http://xircles.codehaus.org/manage_email