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 metadata in java programming?
How can you load the drivers?
What are the types of statements in jdbc?
Where can I find ojdbc14 jar file?
What is a statement in java?
What is the use of callablestatement? Name the method, which is used to prepare a callablestatement.
What are the different types of locking in JDBC?
What does the jdbc resultset interface?
How does jdbc work?
Is odbc an api?
How can I determine the isolation levels supported by my DBMS?
How to connect multiple database in jdbc?
What are the benefits of PreparedStatement over Statement?
If I use the JDBC API, do I have to use ODBC underneath?
Why do we need jdbc driver?