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
How do we call a stored procedure from jdbc?
How to insert and delete a row programmatically? (new feature in JDBC 2.0)
What is jdbc and odbc in java?
What is url in jdbc connection?
State the different connection methods used for creating different types of sql.
How to use JDBC API to call Stored Procedures?
What are the advantages of database connection pooling?
Does jpa use jdbc?
How does jdbc driver work?
Why did my jdbc code throw a rollback sqlexception?
Is jdbc an api?
What is jdbc connection class?
What are the common jdbc exceptions?
What is two-phase commit in the database?
Write a program JDBCcode forfetching student database with SQL.