wat happen when the connection is nt closed in jdbc
n what vl happen when i interchange in executequery n
execute statements

Answer Posted / sitaram

when con.close() is executed the memory deallocated in the
server. if we don't use con.close(),connection will be
increased in the server. suppose the connections size are
reached to max connection, nobody access the database in the
site. This is performance issue.

Is This Answer Correct ?    4 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Why do we need mapdispatchtoprops?

476


What are the cons of struts 2?

575


What are the steps required for setting up validator framework in struts?

565


What is execute method in struts?

496


How is token generated?

538






What is jakarta struts framework?

565


1.can we transfer a request from one struts application to another struts application? 2. how many types of action servlets r there what r they

2757


Is struts compatible with other java technologies?

533


What is apache struts used for?

494


Are the struts tags xhtml compliant ?

542


What are disadvantages of Struts?

555


How does struts2 token work?

531


What are the steps used to setup dispatch action?

499


Which components are available using actioncontext map?

726


What is the use of Struts.xml configuration file?

519