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

Difference between save and saveorupdate?

920


What is 2 stands for in j2ee?

916


What is jaap?

903


What is jetty in java?

922


What is j2ee server?

960


What is full form of j2ee?

941


What is deployer?

916


What is a web container j2ee?

873


Why do we use j2ee?

847


Why java is a platform?

847


What is a jbutton in java?

890


What is jradiobutton in java?

858


What is document root?

856


Which framework is best for java?

899


What is difference between javac and java?

941