Answer Posted / siva mukesh
As per my knowledge "We must close the database connection.if not the database will not update even after executing query also.For example our program is to update EMP table from our database.Now check this program without closing the connection and closing the connection."
| Is This Answer Correct ? | 3 Yes | 2 No |
Post New Answer View All Answers
What is batch processing and how to perform batch processing in jdbc?
What isolation level is used by the DBMS when inserting, updating and selecting rows from a database?
What is the difference between execute, executeQuery, executeUpdate?
What do you mean by two phase commits?
Why do we use jdbc in java?
What is an advantage of using the jdbc connection pool?
Is jdbc part of j2ee?
What is the difference between jdbc and jndi?
What is CLOB and BLOB datatypes in JDBC?
What does the jdbc connection interface?
What does the jdbc databasemetadata interface?
What is transaction processing in jdbc?
What is jdbc stand for?
Name the method, which is used to prepare a callablestatement.
What are common JDBC Exceptions?