tomee-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From tonywestonuk <to...@totspics.com>
Subject Re: Access the underlying connection.
Date Wed, 04 May 2016 05:45:27 GMT
Found it!!  This will do what I need:

				PGConnection postgresConnection=con.unwrap(PGConnection.class);

Your docs may need updating...
http://tomee.apache.org/datasource-config.html#accessToUnderlyingConnectionAllowed



--
View this message in context: http://tomee-openejb.979440.n4.nabble.com/Access-the-underlying-connection-tp4678338p4678339.html
Sent from the TomEE Users mailing list archive at Nabble.com.

Mime
View raw message