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 role of jdbc drivermanager class?
What is connection pooling and why it is used?
What is jdbc and its types?
What are the classes and methods used for sending sql statements to database?
What are the different types of statements in jdbc?
What is SQL Warning? How to retrieve SQL warnings in the JDBC program?
What is jdbc in java?
What is the role of the jdbc drivermanager class?
What is execute in java?
What are the advantages of using preparedstatement in java?
How can we execute stored procedures?
What is jdbc connection string?
What is jdbc stand for?
How can you know about drivers and database information ?
Which jdbc drivers will run your program?