geronimo-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From tharshan <tsund...@toronto.ca>
Subject TranQL getPhysicalConnection
Date Wed, 02 Jun 2010 23:25:23 GMT

Hello developers!

Is there a way to get the actual Connection object from TranQL connection
pooling?

I am trying to implement a NativeJdbcExtractorAdapter for Geronimo.

I tried using reflections to get at the getManagedConnection() method,
didn't work out to well.

this.wrappedConnectionClass =
getClass().getClassLoader().loadClass("org.tranql.connector.jdbc.ConnectionHandle");
this.getManagedConnection =
this.wrappedConnectionClass.getDeclaredMethod("getManagedConnection",
(Class[]) null);
this.getManagedConnection.setAccessible(true);
-- 
View this message in context: http://apache-geronimo.328035.n3.nabble.com/TranQL-getPhysicalConnection-tp866242p866242.html
Sent from the Development mailing list archive at Nabble.com.

Mime
View raw message