to use non-jdbc methods you need to get the underlying connection or statement object.
OracleConnection c = (OracleConnection)c.getUnderlyingConnection();
There might be a getUnderlyingStatement method on the statement wrapper, I don't remember.
Unfortunately I've not been able to find any documentation about getUnderlyingConnection().
I assume it's part of Jboss.
Where should I look for a description? And which jar file has to be added to CLASSPATH?
(I just asked our library to order the Jboss documentation, so I should have this somewhere next week.)
Thanks for your help,