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 are the main classes which are used in struts application?
Which configuration file is used for storing jsp configuration information in struts?
What is the purpose of @intrangefieldvalidator annotation?
What is the purpose of redirect result type?
Explain architecture of struts2?
Why use spring, if you are already using struts?
What is Struts2?
Name some useful annotations introduced in Struts2?
Are struts thread safe?
In how many ways duplicate form submission can occurs?
What is the purpose of @doublerangefieldvalidator?
How can forward action be used to restrict a strut application to mvc?
What are Struts2 core components?
What is the purpose of @action annotation?
What is switchaction?