title: oracle.jdbc.driver.T4CConnection cannot be cast to oracle.jdbc.OracleConnection
body: <pre><code>WrappedConnectionJDK6 wrapped = (WrappedConnectionJDK6) dbStrategy.getConnection();
              Connection underlyingConn = wrapped.getUnderlyingConnection();
              OracleConnection oracleConn = (OracleConnection)underlyingConn;
  </code></pre>
  
  <p>Last line gives Error -</p>
  
  <pre><code>&gt; ERROR
  &gt; [org.apache.catalina.core.ContainerBase.[jboss.web].[default-host].[/web].[resteasy-servlet]]
  &gt; (http-/0.0.0.0:8080-1) Servlet.service() for servlet resteasy-servlet
  &gt; threw exception: org.jboss.resteasy.spi.UnhandledException:
  &gt; java.lang.ClassCastException: oracle.jdbc.driver.T4CConnection cannot
  &gt; be cast to oracle.jdbc.OracleConnection
  </code></pre>