I have a program in which I bind the variables in a loop all using:
// Loop Start on i=1
preparedStatement.setObject(i , Val);
i++;
//Loop End
Some values are INT some are String etc.
I just want to know is is bad performance wise ? In other words ....
is setObject(1, "ABC")
slower than setString(1 , "ABC")
? Especially if there are a millions of bindings in a Loop?
Thanks in advance!