Class JmixEntityManagerFactory

java.lang.Object
io.jmix.eclipselink.impl.JmixEntityManagerFactory
All Implemented Interfaces:
javax.persistence.EntityManagerFactory

public class JmixEntityManagerFactory extends Object implements javax.persistence.EntityManagerFactory
  • Constructor Details

    • JmixEntityManagerFactory

      public JmixEntityManagerFactory(javax.persistence.EntityManagerFactory delegate, org.springframework.beans.factory.ListableBeanFactory beanFactory)
  • Method Details

    • createEntityManager

      public javax.persistence.EntityManager createEntityManager()
      Specified by:
      createEntityManager in interface javax.persistence.EntityManagerFactory
    • createEntityManager

      public javax.persistence.EntityManager createEntityManager(Map map)
      Specified by:
      createEntityManager in interface javax.persistence.EntityManagerFactory
    • createEntityManager

      public javax.persistence.EntityManager createEntityManager(javax.persistence.SynchronizationType synchronizationType)
      Specified by:
      createEntityManager in interface javax.persistence.EntityManagerFactory
    • createEntityManager

      public javax.persistence.EntityManager createEntityManager(javax.persistence.SynchronizationType synchronizationType, Map map)
      Specified by:
      createEntityManager in interface javax.persistence.EntityManagerFactory
    • getCriteriaBuilder

      public javax.persistence.criteria.CriteriaBuilder getCriteriaBuilder()
      Specified by:
      getCriteriaBuilder in interface javax.persistence.EntityManagerFactory
    • getMetamodel

      public javax.persistence.metamodel.Metamodel getMetamodel()
      Specified by:
      getMetamodel in interface javax.persistence.EntityManagerFactory
    • isOpen

      public boolean isOpen()
      Specified by:
      isOpen in interface javax.persistence.EntityManagerFactory
    • close

      public void close()
      Specified by:
      close in interface javax.persistence.EntityManagerFactory
    • getProperties

      public Map<String,Object> getProperties()
      Specified by:
      getProperties in interface javax.persistence.EntityManagerFactory
    • getCache

      public javax.persistence.Cache getCache()
      Specified by:
      getCache in interface javax.persistence.EntityManagerFactory
    • getPersistenceUnitUtil

      public javax.persistence.PersistenceUnitUtil getPersistenceUnitUtil()
      Specified by:
      getPersistenceUnitUtil in interface javax.persistence.EntityManagerFactory
    • addNamedQuery

      public void addNamedQuery(String name, javax.persistence.Query query)
      Specified by:
      addNamedQuery in interface javax.persistence.EntityManagerFactory
    • unwrap

      public <T> T unwrap(Class<T> cls)
      Specified by:
      unwrap in interface javax.persistence.EntityManagerFactory
    • addNamedEntityGraph

      public <T> void addNamedEntityGraph(String graphName, javax.persistence.EntityGraph<T> entityGraph)
      Specified by:
      addNamedEntityGraph in interface javax.persistence.EntityManagerFactory