Golgappa.net | Golgappa.org | BagIndia.net | BodyIndia.Com | CabIndia.net | CarsBikes.net | CarsBikes.org | CashIndia.net | ConsumerIndia.net | CookingIndia.net | DataIndia.net | DealIndia.net | EmailIndia.net | FirstTablet.com | FirstTourist.com | ForsaleIndia.net | IndiaBody.Com | IndiaCab.net | IndiaCash.net | IndiaModel.net | KidForum.net | OfficeIndia.net | PaysIndia.com | RestaurantIndia.net | RestaurantsIndia.net | SaleForum.net | SellForum.net | SoldIndia.com | StarIndia.net | TomatoCab.com | TomatoCabs.com | TownIndia.com
Interested to Buy Any Domain ? << Click Here >> for more details...

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


Please Help Members By Posting Answers For Below Questions

Does Struts2 action and interceptors are thread safe?

1061


What are result types in struts?

982


What are construction struts?

908


What is actioninvocation?

940


What is the purpose of action-mappings tag in struct-config.xml?

949


What is the difference between struts and spring?

927


Are actions thread safe?

958


How interceptor works in struts 2?

1039


Explain integrate log4j in struts2 application?

996


How tag libraries are defined in Struts?

982


What is actioninvocation in struts2?

1011


How do you create message resource?

994


Explain the difference between jakarta struts and apache struts?

933


Describe validate() and reset() methods.

1068


How can you create your custom interceptor in struts 2?

926