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

What are the java backend technologies?

553


What is the difference between java and core java?

572


Is j2ee a programming language?

607


What is container-managed transaction?

653


J2ee is a container centric architecture. Explain.

586






What is a java applet?

621


What does j2ee stand for?

551


What do you mean by the component contract?

579


How long does it take to master java?

538


What is tomcat in j2ee?

556


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

1608


when i m calling java for web browser . so browser it's not support. show error in browser: internal error occur. java.lang.NoClassDefFoundError. will you give me solution why it's not starting browser.? is there any consult with .net framework2.0?

1641


What is pure java?

613


what is interface in java ?can you explain with simple example?and what is the difference between abstract and interface?

2143


CANDOR Services, a leading provider of next-generation staffing services, draws from unparalleled resources and expertise to offer you innovative, quality workforce solutions. We have openings for "J2EE ARCHITECT" with one of our clients. Client is CMM Level 5 company. Location : Hyderabad Roles A J2EE Architect with expertise in Web Architecture (covering Spring MVC, AOP, Webflow, Struts, Tiles, Hibernate, JAAS, Web Application Performance Turning & Measurement) as part of Solutions Architecture Group: Position involves in providing architectural vision, conceptualize and provide architectural approaches, create models and specifications, and validating the architecture against requirements and assumptions. Also involves in providing oversight over ongoing projects as a reviewer and auditor Educational Requirements A minimum of BS or MS (MS preferred) in Computer Science or Engineering or equivalent experience in the IT industry. Skill Sets Overall 8-10 Years of experience in IT industry with 3-4 Years of experience in Service industry Technology Skills Java, J2EE, MVC Frameworks (Struts/WebWork/JSF/Spring), Spring, AOP, WebFlow, ORM Tools (Hibernate/Ibatis/JDO/Tapestry), App servers, Databases, JAAS Web Application Performance Tuning & Measurement 6+ years Java software development experience. 4+ years of enterprise Java development, with emphasis on web-based applications. Strong relational database and SQL skills (5+ years). Mail to : anuradha.k@candorservices.co.in

3156