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

Answers were Sorted based on User's Feedback



wat happen when the connection is nt closed in jdbc n what vl happen when i interchange in executeq..

Answer / 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

wat happen when the connection is nt closed in jdbc n what vl happen when i interchange in executeq..

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

Post New Answer

More Struts Interview Questions

What is the different actions available in struts?

0 Answers  


What is the purpose of @before?

0 Answers  


What are Struts2 core components?

0 Answers  


What is controller in struts2?

0 Answers  


How action mapping is configured in Struts?

0 Answers  


What is Struts Frame Work Architecture(With Diagram) ?

2 Answers   CMC, Wipro,


what are the struts tags?

1 Answers  


For a single Struts application, can we have multiple struts-config.xml files?

0 Answers  


How do you find the struts version being used in a project?

0 Answers  


What is switchaction?

0 Answers  


What is difference between perform() used in struts1.0 and execute() used in 1.1 ?

3 Answers   Infotech,


Which interceptor is responsible for i18n support?

0 Answers  


Categories