wat happen when the connection is nt closed in jdbc
n what vl happen when i interchange in executequery n
execute statements
Answer Posted / 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 |
Post New Answer View All Answers
What is a custom tag?
What is the purpose of struct-config.xml in struct2?
What is meant by custom tags?
Where should struts xml be placed?
What’s the difference between struts and turbine?
What is the purpose of global-forwards tag in struct-config.xml?
How does struts work?
Who wrote struts?
What do you mean by actionform?
What is struts and why it is used?
What is difference between actionform and dynaactionform?
What are the two different types of validations that the validator framework supports?
What is actioncontext?
Name the different types of actions found in struts.
Why do we use struts?