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
Can you give an overview of how a struts application flows?
Describe the mvc on struts?
What are the main classes which are used in struts application?
What is the front controller in struts2?
What is discontinuous strut?
What is the procedure of operation of a form tag?
How can link tag’s action attribute be used?
What is the struts in java?
How can we work with error tags?
Explain design patterns which is used in struts?
Explain how to work with error tags?
Is struts action class singleton?
Explain how can we upload files in struts2 application?
How can we group related actions in one group in Struts?
What validate() and reset() method does ?