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

What is meant by connection string?

560


Describe the steps needed to execute a sql query using jdbc.

553


Explain the locking system in jdbc?

549


What is the advantage of namedparameterjdbctemplate?

512


Where is jdbc url mysql?

504






What do you mean by odbc?

551


How can you create jdbc statements?

538


What causes no suitable driver error?

549


What is device controller?

526


What is phantom read and which isolation level prevents it?

505


What is serialization and deserialization in java programming?

524


Where is ojdbc14 jar located?

504


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

548


What are the jdbc drivers in java?

525


Does jdbctemplate use prepared statements?

515