I need a "oracle.jdbc.driver.T4CConnection" to use in ArrayDescriptor in Java.
"WrappedConnectionJDK6 wrappedConn = (WrappedConnectionJDK6)con;"
I dont have problem with this as I got the underlying connection with:
Connection underlyingConn = wrappedConn.getUnderlyingConnection();
The problem is that Connection sometimes its T4CConnection and sometimes (in another equal jboss 7) its a OracleConnection, and the cast its not possible.This problem only happens in jboss, in weblogic there is no problem at all.
Just removed ojdbc6.jar from deployments, and used only as a module.
Retrieving data ...