Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

BATCH-1749: JdbcPagingItemReader now supports multi-column keys #65

Closed
wants to merge 1 commit into from

Conversation

mminella
Copy link
Member

@mminella mminella commented Nov 2, 2012

Added the ability to supply multiple column keys for the JdbcPagingItemReader. This is supported with two main changes:

  1. Changing the sortKey attribute on the query providers from a single String to a Map<String, Boolean> where the String is the name of the column and the Boolean indicates ascending/descending (ascending = true). Samples project has been updated to show the new configuration.
  2. Updated the generation of the queries. In order to support restartability, a map of the current key values is persisted.

@mminella
Copy link
Member Author

mminella commented Nov 5, 2012

Applying some code review feedback and resubmitting.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

1 participant