[jboss-dev-forums] [JBoss AS 7 Development] - Access wrapped OracleDatasource/OracleConnection in AS7
stewbis
do-not-reply at jboss.com
Wed Mar 7 06:52:17 EST 2012
stewbis [https://community.jboss.org/people/stewbis] created the discussion
"Access wrapped OracleDatasource/OracleConnection in AS7"
To view the discussion, visit: https://community.jboss.org/message/722084#722084
--------------------------------------------------------------
Hi,
I'm developing an application which relies on Oracle's JPublisher to generate database binding classes which specifically need access to the underlying OracleDatasource or OracleConnection. How can I gain access to the underlying datasource in a reliable way i.e. i'm nervous about using ((WrappedConnection)conn).getUnderlyingConnection()) in a @Produces Connection class which will mean all of my data access goes via a single connection - is there an alternative, e.g. using an Oracle connection pool in AS7?
Thanks in advance
Stewart
--------------------------------------------------------------
Reply to this message by going to Community
[https://community.jboss.org/message/722084#722084]
Start a new discussion in JBoss AS 7 Development at Community
[https://community.jboss.org/choose-container!input.jspa?contentType=1&containerType=14&container=2225]
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.jboss.org/pipermail/jboss-dev-forums/attachments/20120307/b9ae3c96/attachment.html
More information about the jboss-dev-forums
mailing list