posted 3 years ago
What will happen if i use stmt.executeUpdate(query2); in the above code?
Will it execute query1, or query2? or will it complain or what will be the behavior.
I learn that we cannot use executeUpdate with parameters on PreparedStatement. It is only meant for Statement object.
But what happens if I do?