| org.compass.gps.device.hibernate.NativeHibernateExtractor
All known Subclasses: org.compass.spring.device.hibernate.SpringNativeHibernateExtractor,
NativeHibernateExtractor | public interface NativeHibernateExtractor (Code) | | A native SessionFactory extractor. Should be used with code/frameworks that
wrap the actual SessionFactory .
author: kimchy |
Method Summary | |
SessionFactory | extractNative(SessionFactory sessionFactory) Returns the actual EntityManagerFactory based on the given EntityManagerFactory .
Should return the same EntityManagerFactory if not wrapping has been done.
Parameters: sessionFactory - The (possibly) wrapped EntityManagerFactory . |
extractNative | SessionFactory extractNative(SessionFactory sessionFactory) throws HibernateGpsDeviceException(Code) | | Returns the actual EntityManagerFactory based on the given EntityManagerFactory .
Should return the same EntityManagerFactory if not wrapping has been done.
Parameters: sessionFactory - The (possibly) wrapped EntityManagerFactory . The actual EntityManagerFactory implementation. throws: HibernateGpsDeviceException - |
|
|