Do this instead:
PreparedStatement pstmt = (PreparedStatement)conn.prepareStatement(sqlString.toString());
Looks like the prepared statement object returned is an instance of
WrappedPreparedStatement, not OraclePreparedStatement. Using a vendor-specific class for
JDBC is not a good idea anyway.
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3967239#...
Reply to the post :
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&a...