wat happen when the connection is nt closed in jdbc
n what vl happen when i interchange in executequery n
execute statements
Answer Posted / sitaram
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 |
Post New Answer View All Answers
Does Struts2 action and interceptors are thread safe?
What are result types in struts?
What are construction struts?
What is actioninvocation?
What is the purpose of action-mappings tag in struct-config.xml?
What is the difference between struts and spring?
Are actions thread safe?
How interceptor works in struts 2?
Explain integrate log4j in struts2 application?
How tag libraries are defined in Struts?
What is actioninvocation in struts2?
How do you create message resource?
Explain the difference between jakarta struts and apache struts?
Describe validate() and reset() methods.
How can you create your custom interceptor in struts 2?