Class BibernateEntityManagerFactory

java.lang.Object
io.github.blyznytsiaorg.bibernate.BibernateEntityManagerFactory
All Implemented Interfaces:
EntityManagerFactory, Closeable, AutoCloseable
Direct Known Subclasses:
BibernateSessionFactory

public class BibernateEntityManagerFactory extends Object implements EntityManagerFactory
Implementation of the EntityManagerFactory interface for creating EntityManager instances in the Bibernate framework. The BibernateEntityManagerFactory provides access to the underlying database settings and repository invocation handler.
Since:
1.0
Author:
Blyzhnytsia Team
See Also:
  • Field Details

  • Constructor Details

    • BibernateEntityManagerFactory

      public BibernateEntityManagerFactory()
  • Method Details

    • close

      public void close()
      Closes the underlying resources associated with the EntityManagerFactory, such as the data source.
      Specified by:
      close in interface AutoCloseable
      Specified by:
      close in interface Closeable
    • getBibernateSessionFactory

      public BibernateSessionFactory getBibernateSessionFactory()
      Retrieves the BibernateSessionFactory associated with this EntityManagerFactory.
      Specified by:
      getBibernateSessionFactory in interface EntityManagerFactory
      Returns:
      the BibernateSessionFactory instance