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 fatal error?

1023


How do I become a java developer?

949


Is j2ee a programming language?

961


What are the components and containers in java?

899


What is javabeans component?

968


What do you understand by business logic?

913


What is empty tag?

922


What is create method?

1028


What are the components of the java platform?

954


What are the main components of the j2ee application?

928


What is authorization?

961


What is a j2ee component?

920


Why is java called technology?

907


In DAO we are writting sql queries , how it is possible with creating and closing database connections.

1932


Why is j2ee needed?

898