93949596979899100101102103
* @param sf session factory to register */ public void setSessionFactory(SessionFactory sf) { this.sf = sf; if (sf == null) { stats = new StatisticsImpl(); } else { stats = sf.getStatistics(); }