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&...]