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 action chaining ?
What are the components of struts framework?
What is ValueStack and OGNL?
Which configuration files are used in struts?
How to handle exceptions in structs?
How to convert struts to spring mvc?
What is strut action mapping?
What is the purpose of form-beans tag in struct-config.xml?
State the procedure for using forward attribute of link tag’s.
What are Struts2 core components?
What is the purpose of @results annotation?
How action-mapping tag is used for request forwarding in struts configuration file?
What is validate() and reset() functions?
When should be opt for struts framework?
What is the purpose of '@keyproperty'?