This content has been marked as final. Show 4 replies
Don't use the ' ' around the ?.
It has been awhile, but I do not believe you want the single-quotes around the "?" marks even though they are strings.
What they said, the PreparedStatement class takes care of the quoting for you automatically for String parameters.
OK Thank You
Thats the solution! Didn�t know about that.
Now the statement executes perfectly.