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

To Create Session object to use hibernate in an
application SessionFactory is required.
When buildSessionFactory()method is called hibernate
decides about various sql statements,that has to be used to
access various tables and creates SeessionFactory object.
This operation is expensive and it should be used only once.

Is This Answer Correct ?    54 Yes 20 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

J2ee is a container centric architecture. Explain.

921


What are the four types of J2EE modules?

1041


What is commit?

1063


What is home interface?

1051


Why java is called robust and secure?

1004


What are web technologies in java?

862


What is filter chain?

919


What do you understand by business logic?

912


What is application client container?

950


What are the components of j2ee?

884


What are the component of java?

918


What is javac written?

922


What are the components of J2EE application?

1021


Why do we use j2ee?

905


What are defined as web components?

977