| org.compass.gps.device.jpa.NativeJpaExtractor
All known Subclasses: org.compass.spring.device.jpa.SpringNativeJpaExtractor, org.compass.jboss.device.jpa.JBossNativeHibernateJpaExtractor,
NativeJpaExtractor | public interface NativeJpaExtractor (Code) | | A native EntityManagerFactory extractor. Should be used with code/frameworks that
wrap the actual EntityManagerFactory .
author: kimchy |
Method Summary | |
EntityManagerFactory | extractNative(EntityManagerFactory entityManagerFactory) Returns the actual EntityManagerFactory based on the given EntityManagerFactory .
Should return the same EntityManagerFactory if not wrapping has been done.
Parameters: entityManagerFactory - The (possibly) wrapped EntityManagerFactory . | EntityManager | extractNative(EntityManager entityManager) Extracts the native EntityManager based on the given EntityManager .
Should return the same EntityManager if no wrapper has been done.
Parameters: entityManager - The (possibly) wrapper EntityManager . |
extractNative | EntityManagerFactory extractNative(EntityManagerFactory entityManagerFactory) throws JpaGpsDeviceException(Code) | | Returns the actual EntityManagerFactory based on the given EntityManagerFactory .
Should return the same EntityManagerFactory if not wrapping has been done.
Parameters: entityManagerFactory - The (possibly) wrapped EntityManagerFactory . The actual EntityManagerFactory implementation. throws: JpaGpsDeviceException - |
extractNative | EntityManager extractNative(EntityManager entityManager) throws JpaGpsDeviceException(Code) | | Extracts the native EntityManager based on the given EntityManager .
Should return the same EntityManager if no wrapper has been done.
Parameters: entityManager - The (possibly) wrapper EntityManager . The actual EntityManager . throws: JpaGpsDeviceException - |
|
|