[jboss-user] [Installation, Configuration & Deployment] - Re: simple servlet jsp application with Oracle 9i -- using O

PeterJ do-not-reply at jboss.com
Thu Aug 24 10:30:41 EDT 2006


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



More information about the jboss-user mailing list