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
Why do we need jdbc?
Give an example of code used for setting up connection with a driver.
What is jdbc odbc driver?
What is the use of JDBC DriverManager class?
What is an advantage of using the jdbc connection pool?
What is DML?
What happens if connection is not closed in jdbc?
What is jdbc type?
How does jdbc work?
How can I write to the log used by DriverManager and JDBC drivers?
What do you mean by database connection pooling?
Explain the JDBC Architecture?
Why would you use setautocommit(false) in jdbc?
Is jpa faster than jdbc?
Which type of JDBC driver is the fastest one?