Fix Hibernate session handling in CommunityCtxDBMgr