I noticed that our senior developer uses following code for retrieving entity by ID:
@Override public Source get(Long id) { Session session = getSession();