wat happen when the connection is nt closed in jdbc
n what vl happen when i interchange in executequery n
execute statements
Answers were Sorted based on User's Feedback
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 |
Answer / prasanthi reddy
when con.close() is executed the memory allocated for the
connection in the server is deallocated,and the connection
with the client will be terminated.
if we dont use con.close() even if our requirement is
completed,the connection will be remain in the server it is
the more burden to the server,it will kills the performance
| Is This Answer Correct ? | 1 Yes | 0 No |
How to combine the struts with velocity template?
what is the difference between model1 and model2 architecture in struts?
What helpers in the form of jsp pages are provided in struts framework?
What is request processor and how does it relates to action mapping?
What are the steps required for setting up validator framework in struts?
What are best practices to follow while developing Struts2 application?
in struts how to use hibernate with struts>
What's mvc pattern ?
What is the difference between a Strut and a Class?
What is the DynaActionForm? How we implement the dynaactionform ? can u please tell me the way to implement? in understandable way?
struts 1.3 features?
How we can install struts?