Answer Posted / kalyan
If same query is executed multiple times over DB for
different values, we go for preparedStatement
PreparedStatement ps = con.prepareStatement(
"UPDATE TABLE_NAME SET COLUMN = ? WHERE COF_VALUE
LIKE ?");
| Is This Answer Correct ? | 3 Yes | 0 No |
Post New Answer View All Answers
How does jdbc work?
What is jdbc and jpa?
How to set NULL values in JDBC PreparedStatement?
What is the major difference between java.util.date and java.sql.date data type?
What is jndi lookup?
Where is ojdbc14 jar located?
What causes no suitable driver error?
Which package is used for jdbc application?
How do we load the drivers?
Give an example of code used for setting up connection with a driver.
Which constraint cannot be specified as an explicit constraint and should be specified with the column only ?
I have the choice of manipulating database data using a byte[] or a java.sql.blob. Which has best performance?
What is JDBC Savepoint? How to use it?
What is jdbc url for mysql?
How does jdbc driver work?