Interface DBSessionFactory

All Known Implementing Classes:
DBSessionFactoryImpl

public interface DBSessionFactory
Factory interface for creating DBSessions.
  • Method Summary

    Modifier and Type
    Method
    Description
    createSession(javax.persistence.EntityManagerFactory emf)
    Creates a new DBSession.
  • Method Details

    • createSession

      DBSession createSession(javax.persistence.EntityManagerFactory emf)
      Creates a new DBSession.
      Parameters:
      emf - EntityManagerFactory that the new DBSession should use.
      Returns:
      A new DBSession.