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 explain value stack?
How long do struts last?
Explain about struts dispatch action?
What are the steps involved in creating a strut application?
What are action classes in struts?
What is the difference between struts and spring? Explain
Are struts and shocks the same?
What kind of mvc is struts 2?
What do you mean by actionmapping?
How you will make available any message resources definitions file to the struts framework environment?
What are the steps used to setup dispatch action?
What are action errors and error and what are the consequences they impose?
What is struts framework in java?
How struts 2 validation works?
Can you explain custom tag?