Package com.ibanfr.infrastructure.dao
Class SessionFactoryProducer
java.lang.Object
com.ibanfr.infrastructure.dao.SessionFactoryProducer
Uses hibernate native bootstrapping mechanism
Native bootstrapping
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected org.hibernate.SessionFactoryproduceSessionFactory(Map<String, Object> settings, Class<?>... annotatedClasses) Produces a SessionFactory instance.
-
Constructor Details
-
SessionFactoryProducer
public SessionFactoryProducer()
-
-
Method Details
-
produceSessionFactory
protected org.hibernate.SessionFactory produceSessionFactory(Map<String, Object> settings, Class<?>... annotatedClasses) Produces a SessionFactory instance.The SessionFactory instance is created using the specified settings and annotated classes.
- Parameters:
settings-annotatedClasses-- Returns:
-