Hello colleagues,
I am sure someone bumped into this once before.
I am trying to get an OracleConnection from Jboss pool manager and JNDI.
My understanding is to get a WrappedConnection from the JNDI DataSource, I am still
getting a CastException. I was wondering what is the solution around this CastException,
this is the code I am using:
con = ds.getConnection();
WrappedConnection wc = (WrappedConnection) con;
OracleConnection ora_con = (OracleConnection)wc.getUnderlyingConnection();
Thanks.
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4008819#...
Reply to the post :
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&a...