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

    OracleConnection without getUnderlyingConnection()

    mhalasa Newbie

      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:
      http://forums.oracle.com/forums/thread.jspa?threadID=279238&tstart=45&messageID=894337#894337

      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 :(

      thanks,
      /m