I was working with JDBC PreparedStatement with WSAD 5.0.
The same code does not work in WSAD 5.1
eg.
String sql="SELECT * FROM myTable WHERE ID= ? "
PreparedStatement prepStmt=conn.prepareStatement(sql);
prepStmt.setInt(1,1);
prepStmt.executeQuery();
-----------
I get an erro:
java.sql.Exception : Parameter with index 2 is not set
This is very frustrating.