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 / soumya ranjan

The main contract here is the creation of Session instances. Usually an application has a single SessionFactory instance and threads servicing client requests obtain Session instances from this factory.

The internal state of a SessionFactory is immutable. Once it is created this internal state is set. This internal state includes all of the metadata about Object/Relational Mapping.

Implementors must be threadsafe.

Is This Answer Correct ?    1 Yes 1 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is a java ee container?

891


Who is java developer?

907


What is jetty in java?

1001


What is jradiobutton in java?

934


What is 2 stands for in j2ee?

981


What is a thin client?

1044


Which edition of java is used for web application?

930


What is full form of j2ee?

1036


What is Document Object Model?

1018


What does java ee stand for?

886


What are the tools in java?

875


What is meant by j2ee?

935


What do you mean by the component contract?

987


What is server in j2ee?

887


What is context attribute?

999