Class SessionFactoryProducer

java.lang.Object
com.ibanfr.infrastructure.dao.SessionFactoryProducer

public class SessionFactoryProducer extends Object
Uses hibernate native bootstrapping mechanism Native bootstrapping
  • 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: