2 Replies Latest reply on Mar 4, 2015 3:00 AM by influence160

    OracleConnection without getUnderlyingConnection()


      is there a way to get get OracleConnection from oracle jndi datasource (in jboss represented as WrapperDataSource) in other way than this?

      temp = dataSource.getConnection();
      result = (OracleConnection)((WrappedConnection)temp).getUnderlyingConnection();

      all I could find about this is:

      but I don't see a way to use it in JBoss.

      any hint will be appreciated, searching forum wasn't of any help since i probably don't know the right key word :(