@Test public void GetCurrentSession() { assertNull(sessionContext.getCurrentSession()); }
@Override public Session getCurrentSession() { return sessionHolder.get(); }
SimpleSessionContext implements SessionContext { @Override public Session getCurrentSession() { return sessionHolder.get(); } }
SimpleSessionContext implements SessionContext { @Override public Session getCurrentSession() { return sessionHolder.get(); } SimpleSessionContext(SessionFactory sessionFactory); }
SimpleSessionContext implements SessionContext { @Override public Session getCurrentSession() { return sessionHolder.get(); } SimpleSessionContext(SessionFactory sessionFactory); @Override Session getCurrentSession(); Session getOrCreateSession(); void releaseSession(); }
SimpleSessionContext implements SessionContext { @Override public Session getCurrentSession() { return sessionHolder.get(); } SimpleSessionContext(SessionFactory sessionFactory); @Override Session getCurrentSession(); Session getOrCreateSession(); void releaseSession();  }