what happens if connection is not closed?

Answer Posted / deepak upadhyay

If we don't close the connection ,we will get memory leakage...and it will open even after log out..and also create distinguish between two user login,it might be interchange...

Is This Answer Correct ?    0 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Why do we use jdbc statements?

491


What is db client?

481


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

522


What are the advantages of using preparedstatement over statement?

514


How to use JDBC API to call Stored Procedures?

533






What do you mean by metadata and why we are using it?

544


What is ojdbc?

512


What's the benefit for specifying constraints like not null, primary key explicitly instead of specifying it against the column ?

462


what is the meaning of following code snippets Class c=class.forName(driverClassName); Driver d=(driver)c.newInstance();

4286


What is executeupdate in java?

455


What does jdbc stand for?

490


What is a datasource in java?

488


What is odbc. how is it related to sql cli?

582


What are the flow statements of jdbc?

505


What is the JDBC?

540