Example usage for Java org.springframework.orm.jpa EntityManagerFactoryUtils fields, constructors, methods, implement or subclass
The text is from its open source code.
void | closeEntityManager(@Nullable EntityManager em) Close the given JPA EntityManager, catching and logging any cleanup exceptions thrown. |
DataAccessException | convertJpaAccessExceptionIfPossible(RuntimeException ex) Convert the given runtime exception to an appropriate exception from the org.springframework.dao hierarchy. |
EntityManagerFactory | findEntityManagerFactory(ListableBeanFactory beanFactory, @Nullable String unitName) Find an EntityManagerFactory with the given name in the given Spring application context (represented as ListableBeanFactory). |
EntityManager | getTransactionalEntityManager(EntityManagerFactory emf) Obtain a JPA EntityManager from the given factory. |
EntityManager | getTransactionalEntityManager(EntityManagerFactory emf, @Nullable Map, ?> properties) Obtain a JPA EntityManager from the given factory. |