Support for pagination with data mapper