The data-source cursor should have a reference to the session.