wat happen when the connection is nt closed in jdbc
n what vl happen when i interchange in executequery n
execute statements
Answers were Sorted based on User's Feedback
when con.close() is executed the memory deallocated in the
server. if we don't use con.close(),connection will be
increased in the server. suppose the connections size are
reached to max connection, nobody access the database in the
site. This is performance issue.
| Is This Answer Correct ? | 4 Yes | 0 No |
Answer / 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 |
What is the different actions available in struts?
What is the purpose of @before?
What are Struts2 core components?
What is controller in struts2?
How action mapping is configured in Struts?
What is Struts Frame Work Architecture(With Diagram) ?
what are the struts tags?
For a single Struts application, can we have multiple struts-config.xml files?
How do you find the struts version being used in a project?
What is switchaction?
What is difference between perform() used in struts1.0 and execute() used in 1.1 ?
Which interceptor is responsible for i18n support?