what happens if connection is not closed?

Answer Posted / pooja

if we don't close the connection , it wil lead to
connection memory leakage.unless until application
server/web server is shut down ,connection wil remain
activate even though the user logs out .

Is This Answer Correct ?    66 Yes 2 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

How do I receive a ResultSet from a stored procedure?

529


What is in terms of jdbc a datasource?

523


Where is ojdbc14 jar located?

504


How do I retrieve a whole row of data at once, instead of calling an individual ResultSet.getXXX method for each column?

600


Write an sql to find all records having all numeric characters in a field ?

495






What is the use of getGeneratedKeys() method in Statement?

534


How can I create a custom RowSetMetaData object from scratch?

551


How do java applications access the database using jdbc?

537


What is ODBC and JDBC? How do you connect the Database?

539


What are the methods which can verify the cursor particular position?

558


Compare jdbc and odbc and how is jdbc required in this context.

528


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

553


How you restrict a user to cut and paste from the html page using java programing?

484


Is uri the same as url?

498


What is the full form of jdbc?

495