protected Session getSession(final boolean useTenant) throws SPersistenceException { logStats(); try { return sessionFactory.getCurrentSession(); } catch (final HibernateException e) { throw new SPersistenceException(e); } }
protected Session getSession(final boolean useTenant) throws SPersistenceException { logStats(); try { return sessionFactory.getCurrentSession(); } catch (final HibernateException e) { throw new SPersistenceException(e); } }