@Override protected ProxyFactory buildProxyFactory( PersistentClass mappingInfo, Getter idGetter, Setter idSetter) { ProxyFactory pf = new MapProxyFactory(); try { // TODO: design new lifecycle for ProxyFactory pf.postInstantiate(getEntityName(), null, null, null, null, null); } catch (HibernateException he) { LOG.unableToCreateProxyFactory(getEntityName(), he); pf = null; } return pf; }