List of usage examples for org.hibernate.proxy.map MapProxyFactory MapProxyFactory
MapProxyFactory
From source file:org.openbravo.dal.core.OBDynamicTuplizer.java
License:Open Source License
@Override protected ProxyFactory buildProxyFactory(PersistentClass thePersistentClass, Getter idGetter, Setter idSetter) { ProxyFactory pf = new MapProxyFactory(); try {/*w ww .j a va 2s . co m*/ pf.postInstantiate(getEntityName(), null, null, null, null, null); } catch (final HibernateException he) { log.warn("could not create proxy factory for:" + getEntityName(), he); pf = null; } return pf; }