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 the purpose of global-forwards tag in struct-config.xml?
What is package name in struts xml?
What are the differences between Struts1 and Struts2 or how Struts2 is better than Struts1?
What are action errors and error?
What is the difference between validation.xml and validator-rules.xml files in struts?
What are the main classes which are used in struts application?
What is the apache struts vulnerability?
What is action support class in struts2?
What is the difference between struts and spring? Explain
What is the default suffix for Struts2 action URI and how can we change it?
What is dispatch action class?
Is Struts Framework part of J2EE?
What is execute method in struts?
Is struts action class singleton?
What does params interceptor?