I'm playing around with Spring Batch and am having strange errors when using the SqlPagingQueryProviderFactoryBean.

My little test table is in Derby and is created like this:

create table...