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
Is jdbc database independent?
What is the meaning of connection?
What is connection pooling and why it is used?
What is jdbc connection string?
What is a java driver?
What is database deadlock ?
Is odbc an api?
How to connect multiple database in jdbc?
Is jdbc object oriented?
What happens if connection is not closed in jdbc?
What isolation level is used by the DBMS when inserting, updating and selecting rows from a database?
Name different methods for getting streams.
Prepared statements are faster. Why?
How can we maintain the integrity of a database by using jdbc?
What is jdbc oracle thin?