Java org.springframework.orm.jpa EntityManagerFactoryUtils fields, constructors, methods, implement or subclass

Example usage for Java org.springframework.orm.jpa EntityManagerFactoryUtils fields, constructors, methods, implement or subclass

Introduction

In this page you can find the methods, fields and constructors for org.springframework.orm.jpa EntityManagerFactoryUtils.

The text is from its open source code.

Method

voidcloseEntityManager(@Nullable EntityManager em)
Close the given JPA EntityManager, catching and logging any cleanup exceptions thrown.
DataAccessExceptionconvertJpaAccessExceptionIfPossible(RuntimeException ex)
Convert the given runtime exception to an appropriate exception from the org.springframework.dao hierarchy.
EntityManagerFactoryfindEntityManagerFactory(ListableBeanFactory beanFactory, @Nullable String unitName)
Find an EntityManagerFactory with the given name in the given Spring application context (represented as ListableBeanFactory).
EntityManagergetTransactionalEntityManager(EntityManagerFactory emf)
Obtain a JPA EntityManager from the given factory.
EntityManagergetTransactionalEntityManager(EntityManagerFactory emf, @Nullable Map properties)
Obtain a JPA EntityManager from the given factory.