Define the session factory interface in hibernate?

Define the session factory interface in hibernate?

Define the session factory interface in hibernate?

View Answers

June 11, 2012 at 6:23 PM

Session factory is used for manageing the session objects.public interface SessionFactory extends Referenceable, Serializable.It is in org.hibernate.SessionFactory.

It works as a factory for session and a client of connection provider. It also holds an optional cah of data that is reusable between transactions at a process, or cluster.

There is single sessionFactory for each database.

SessionFactory sessionFactory = configuration.buildSessionFactory();









Related Tutorials/Questions & Answers:
Define the session factory interface in hibernate?
Session Factory
Advertisements
Session Interface in hibernate.
Session interface in Hibernate
Given a list of methods for a stateful or stateless session bean class, define which of the following operations can be performed from each of those methods: SessionContext interface metho
Feature of Hibernate3
Why to use Session interface in Hibernate?
How do we create session factory in hibernate?
How to create Hibernate session factory name?
What is the main feature of Hibernate3?
I need hibernate session factory example.
Maven Repository/Dependency: org.n52.sensorweb.sos | hibernate-session-factory
how can i define only one method from the interface. - Java Beginners
Identify the interface and method for each of the following: retrieve the session bean's remote home interface, retrieve the session bean's local component interface, determine if the sessio
Hibernate 4 create Session Factory: Example of creating Session Factory in Hibernate 4
The interface keyword
Maven dependency for org.n52.sensorweb.sos - hibernate-session-factory version 5.0.0-alpha.10 is released. Learn to use hibernate-session-factory version 5.0.0-alpha.10 in Maven based Java projects
Maven dependency for org.n52.sensorweb.sos - hibernate-session-factory version 5.0.0-alpha.2 is released. Learn to use hibernate-session-factory version 5.0.0-alpha.2 in Maven based Java projects
Maven Repository/Dependency: org.n52.sensorweb-server.sos | sos-hibernate-session-factory
Maven dependency for org.n52.sensorweb-server.sos - sos-hibernate-session-factory version 6.0.0-PR.22 is released. Learn to use sos-hibernate-session-factory version 6.0.0-PR.22 in Maven based Java projects
Maven dependency for org.n52.sensorweb-server.sos - sos-hibernate-session-factory version 6.0.0-PR.22 is released. Learn to use sos-hibernate-session-factory version 6.0.0-PR.22 in Maven based Java projects
Maven dependency for org.n52.sensorweb-server.sos - sos-hibernate-session-factory version 6.0.0-PR.21 is released. Learn to use sos-hibernate-session-factory version 6.0.0-PR.21 in Maven based Java projects
Maven dependency for org.n52.sensorweb-server.sos - sos-hibernate-session-factory version 6.0.0-PR.21 is released. Learn to use sos-hibernate-session-factory version 6.0.0-PR.21 in Maven based Java projects
Maven dependency for org.n52.sensorweb-server.sos - sos-hibernate-session-factory version 6.0.0-PR.22 is released. Learn to use sos-hibernate-session-factory version 6.0.0-PR.22 in Maven based Java projects
Maven dependency for org.n52.sensorweb-server.sos - sos-hibernate-session-factory version 6.0.0-PR.21 is released. Learn to use sos-hibernate-session-factory version 6.0.0-PR.21 in Maven based Java projects
Maven dependency for org.n52.sensorweb-server.sos - sos-hibernate-session-factory version 6.0.0-PR.20 is released. Learn to use sos-hibernate-session-factory version 6.0.0-PR.20 in Maven based Java projects
Maven dependency for org.n52.sensorweb-server.sos - sos-hibernate-session-factory version 6.0.0-PR.11 is released. Learn to use sos-hibernate-session-factory version 6.0.0-PR.11 in Maven based Java projects
Maven dependency for org.n52.sensorweb-server.sos - sos-hibernate-session-factory version 6.0.0-PR.10 is released. Learn to use sos-hibernate-session-factory version 6.0.0-PR.10 in Maven based Java projects
Maven dependency for org.n52.sensorweb-server.sos - sos-hibernate-session-factory version 6.0.0-PR.9 is released. Learn to use sos-hibernate-session-factory version 6.0.0-PR.9 in Maven based Java projects
Maven dependency for org.n52.sensorweb-server.sos - sos-hibernate-session-factory version 6.0.0-PR.18 is released. Learn to use sos-hibernate-session-factory version 6.0.0-PR.18 in Maven based Java projects
Maven dependency for org.n52.sensorweb-server.sos - sos-hibernate-session-factory version 6.0.0-PR.17 is released. Learn to use sos-hibernate-session-factory version 6.0.0-PR.17 in Maven based Java projects
Maven dependency for org.n52.sensorweb-server.sos - sos-hibernate-session-factory version 6.0.0-PR.15 is released. Learn to use sos-hibernate-session-factory version 6.0.0-PR.15 in Maven based Java projects
Maven dependency for org.n52.sensorweb-server.sos - sos-hibernate-session-factory version 6.0.0-PR.14 is released. Learn to use sos-hibernate-session-factory version 6.0.0-PR.14 in Maven based Java projects
Maven dependency for org.n52.sensorweb-server.sos - sos-hibernate-session-factory version 6.0.0-PR.13 is released. Learn to use sos-hibernate-session-factory version 6.0.0-PR.13 in Maven based Java projects
Maven dependency for org.n52.sensorweb-server.sos - sos-hibernate-session-factory version 6.0.0-PR.12 is released. Learn to use sos-hibernate-session-factory version 6.0.0-PR.12 in Maven based Java projects
Maven dependency for org.n52.sensorweb-server.sos - sos-hibernate-session-factory version 6.0.0-PR.19 is released. Learn to use sos-hibernate-session-factory version 6.0.0-PR.19 in Maven based Java projects
Maven dependency for org.n52.sensorweb-server.sos - sos-hibernate-session-factory version 5.5.2 is released. Learn to use sos-hibernate-session-factory version 5.5.2 in Maven based Java projects
Maven dependency for org.n52.sensorweb-server.sos - sos-hibernate-session-factory version 6.0.0 is released. Learn to use sos-hibernate-session-factory version 6.0.0 in Maven based Java projects
Maven dependency for org.n52.sensorweb-server.sos - sos-hibernate-session-factory version 5.5.1 is released. Learn to use sos-hibernate-session-factory version 5.5.1 in Maven based Java projects
Maven dependency for org.n52.sensorweb-server.sos - sos-hibernate-session-factory version 5.5.0 is released. Learn to use sos-hibernate-session-factory version 5.5.0 in Maven based Java projects
Maven dependency for org.n52.sensorweb-server.sos - sos-hibernate-session-factory version 6.0.0-PR.6 is released. Learn to use sos-hibernate-session-factory version 6.0.0-PR.6 in Maven based Java projects
Maven dependency for org.n52.sensorweb-server.sos - sos-hibernate-session-factory version 6.0.0-PR.5 is released. Learn to use sos-hibernate-session-factory version 6.0.0-PR.5 in Maven based Java projects
Maven dependency for org.n52.sensorweb-server.sos - sos-hibernate-session-factory version 6.0.0-PR.4 is released. Learn to use sos-hibernate-session-factory version 6.0.0-PR.4 in Maven based Java projects
Maven dependency for org.n52.sensorweb-server.sos - sos-hibernate-session-factory version 5.4.3 is released. Learn to use sos-hibernate-session-factory version 5.4.3 in Maven based Java projects
Maven dependency for org.n52.sensorweb-server.sos - sos-hibernate-session-factory version 6.0.0-PR.3 is released. Learn to use sos-hibernate-session-factory version 6.0.0-PR.3 in Maven based Java projects
Maven dependency for org.n52.sensorweb-server.sos - sos-hibernate-session-factory version 5.2.9 is released. Learn to use sos-hibernate-session-factory version 5.2.9 in Maven based Java projects
Maven dependency for org.n52.sensorweb-server.sos - sos-hibernate-session-factory version 6.0.0-PR.2 is released. Learn to use sos-hibernate-session-factory version 6.0.0-PR.2 in Maven based Java projects
Maven dependency for org.n52.sensorweb-server.sos - sos-hibernate-session-factory version 5.4.2 is released. Learn to use sos-hibernate-session-factory version 5.4.2 in Maven based Java projects
Maven dependency for org.n52.sensorweb-server.sos - sos-hibernate-session-factory version 5.4.1 is released. Learn to use sos-hibernate-session-factory version 5.4.1 in Maven based Java projects
Maven dependency for org.n52.sensorweb-server.sos - sos-hibernate-session-factory version 5.4.0 is released. Learn to use sos-hibernate-session-factory version 5.4.0 in Maven based Java projects

Ads