The problems with PreparedStatement stem from its syntax for parameters. Parameters are anonymous and accessed by index as in the following: PreparedStatement p = con.prepareStatement("select * from ...
Using a stored procedure or other compiled SQL, have you wanted to be able to drop a specific condition in a WHERE clause and thought the only way was through multiple SQL Statements or through ...