JBoss Community

Access wrapped OracleDatasource/OracleConnection in AS7

created by stewbis in JBoss AS 7 Development - View the full discussion

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

Start a new discussion in JBoss AS 7 Development at Community