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

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 ?    8 Yes 7 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is distributed application?

934


What is mean by j2ee?

847


What is assembly in java?

896


What is main method in java?

1067


Which compiler is used in java?

916


How to invoke stored procedure in hibernate?

957


What is the difference between session bean and entity bean ?

905


What is a j2ee component?

902


What is use of final keyword in java?

963


Describe the ear, war, and jar.

903


What is DDP?

931


What is actionerrors?

962


What is java application server?

893


Is string a primitive data type in java?

899


Where javac is located?

882