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 the JDBC syntax for using a literal or variable in a standard Statement?
What is an odbc driver?
What is jdbc driver in java?
Why are we using blob datatypes in jdbc?
What is a connection string used for?
Where can I find info, frameworks and example source for writing a JDBC driver?
Why do we need a jdbcrowset like wrapper around resultset?
What are the advantages of using preparedstatement in java?
Why “no suitable driver” error occurs?
Is not bound in this context unable to find jdbc spring boot?
How can I connect mysql or oracle with java?
What are temp tables ?
Is jdbctemplate thread safe?
Explain the difference between resultset and rowset in jdbc
How can we maintain the integrity of a database by using jdbc?