users@glassfish.java.net

Re: java.lang.ClassCastException OracleCallableStatement in glassfish v31

From: <glassfish_at_javadesktop.org>
Date: Fri, 13 Aug 2010 13:04:56 PDT

I believe you can unwrap the connection by casting it to com.sun.gjc.spi.base.ConnectionHolder and calling getConnection() on it. The unwrapped connection can be used to give you OracleCallableStatements etc.

Best Regards,
Chris
[Message sent by forum member 'chris_delahunt']

http://forums.java.net/jive/thread.jspa?messageID=480145