| java.lang.Object org.compass.spring.device.jpa.SpringNativeJpaExtractor
SpringNativeJpaExtractor | public class SpringNativeJpaExtractor implements NativeJpaExtractor(Code) | | Extracts the native entity manager factory from a managed Spring one. If Spring
has not wrapped the factory, will return it as is.
author: kimchy |
Method Summary | |
public EntityManagerFactory | extractNative(EntityManagerFactory entityManagerFactory) Extracts the native entity manager factory from a managed Spring one. | public EntityManager | extractNative(EntityManager entityManager) |
extractNative | public EntityManagerFactory extractNative(EntityManagerFactory entityManagerFactory) throws JpaGpsDeviceException(Code) | | Extracts the native entity manager factory from a managed Spring one. If Spring
has not wrapped the factory, will return it as is.
Parameters: entityManagerFactory - The (possibly) managed Spring entity manager factory The native entity manager factory throws: JpaGpsDeviceException - |
|
|