users@glassfish.java.net

how to unwrap ConnectionWrapper40 to native OracleConnection in GF 3.1

From: Yongqin Xu <yongqxu_at_hotmail.com>
Date: Fri, 30 Sep 2011 23:58:03 -0600

Hello,

In my runtime, i got this connection instance with type com.sun.gjc.spi.jdbc40.ConnectionWrapper40,
, i need to unwrap it to OracleConnection instance type, has any of you done this before? I tried
ConnectionWrapper40.unwrap(), it give me back ConnectionWrapper40 still.