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#3967239

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3967239
_______________________________________________
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user

Reply via email to