0 Replies Latest reply on Mar 7, 2012 6:52 AM by stewbis

    Access wrapped OracleDatasource/OracleConnection in AS7

    stewbis Newbie



      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