CommonUtil.releaseDatasourceConnection(pc, dc);
}
addEventListeners(pc, data);
EntityTuplizerFactory tuplizerFactory = data.getConfiguration().getEntityTuplizerFactory();
//tuplizerFactory.registerDefaultTuplizerClass(EntityMode.MAP, CFCEntityTuplizer.class);
//tuplizerFactory.registerDefaultTuplizerClass(EntityMode.MAP, MapEntityTuplizer.class);
tuplizerFactory.registerDefaultTuplizerClass(EntityMode.MAP, AbstractEntityTuplizerImpl.class);
tuplizerFactory.registerDefaultTuplizerClass(EntityMode.POJO, AbstractEntityTuplizerImpl.class);
//tuplizerFactory.registerDefaultTuplizerClass(EntityMode.POJO, AbstractEntityTuplizerImpl.class);
//configuration.setEntityResolver(new CFCEntityResolver());
//configuration.setEntityNotFoundDelegate(new EntityNotFoundDelegate());