what happens if connection is not closed?

Answer Posted / deepak cheela

For suppose if two database connections are available for
two client requests then database server grants all of them
connection after usage of one client request is over that
client must close the connection becoz server create a
session with clent requests.if so we do without clossing the
connection the DBserver thinks client is still processing
then load wil be on DBserver and performance will decrease.

Is This Answer Correct ?    1 Yes 1 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Can we return resultset in java?

478


What is executeupdate in java?

476


What are the advantages of using preparedstatement over statement?

542


Why do you use a data source object for a connection?

548


What is metadata in jdbc?

489






What is an escape syntax?

533


What are the different classes through which JDBC represents statements?

513


If you are given a choice to implement the code to either insert a record or update if already exist, which approach will you follow ?

580


What is odbc and jdbc in dbms?

528


How do I load a database driver with JDBC 4.0 / Java 6?

561


What is the difference between client and server database cursors?

605


How do I start debugging problems related to the JDBC API?

526


List some new features available in jdbc 4.0?

482


What isolation level is used by the DBMS when inserting, updating and selecting rows from a database?

506


What does connection pooling mean ?

575