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...

what is the purpose and activity of SessionFactory in
hibernate?

Answer Posted / ram nidadavolu

Application obtains session instances from Session Factory.
Only single SessionFactory for the whole application.

SessionFactory caches generate SQL statements and other
mapping metadata that Hibernate uses at runtime.

Cached data that has been read in one unit of work and may
be reused in a future unit of work.

SessionFactory sessionFactory =
Configuration.buildSessionFactory();

Is This Answer Correct ?    29 Yes 20 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is java naming and directory service?

939


What is a j2ee container?

999


What is the use of method saveorupdate()?

1046


What is containers in java?

865


Explain the j2ee tiers.

856


Is java is a technology?

955


Why is java robust?

1241


how to run servlet program between two computer through internet ?

2942


What is source file in java?

918


Why java is called portable language?

908


Difference between save and saveorupdate?

986


What is a j2ee component?

917


What is ear file?

918


What is a java application server?

918


What does enterprise javabeans module contain?

919