Results 1 to 3 of 3

Thread: Spring Batch Admin - Paging error

  1. #1

    Default Spring Batch Admin - Paging error

    Runing into a problem in Spring Batch Admin when I am trying to look at a step execution. It appears be using SQL generated by the Db2PagingQueryProvider to determine a SORT_KEY. It uses the ROW_NUMBER() and OVER() functions which are not currently supported by the version of DB2 we are using. Is there any way to work around this?

  2. #2

    Default

    OK, I think I am going to make an attempt at writing a Db2PagingQueryProvider that uses doesn't use the SqlWindowingPagingQueryProvider and does something similiar to the MySqlPagingQueryProvider, but uses the correct DB2 paging keywords e.g. (FETCH FIRST 10 ROWS ONLY)

  3. #3
    Join Date
    Jun 2005
    Posts
    4,232

    Default

    That would work. As far as I know the implementation we have works for some (most recent at the time probably) version of DB2, but isn't expected to work for all versions. If you want to contribute your reader once it is tested please send a pull request to github.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •