public void init(Map props) {
public void init(Map props) throws StoreException { try {  sessionFactory =(SessionFactory) props.get("sessionFactory"); session = sessionFactory.openSession();  } catch (HibernateException he) { log.error("Setting sessionFactory", he); throw new StoreException("Setting sessionFactory", he); }
    public void init(Map props) {    }