Spring batch with column alias as sort key - malformed “where” statement
问题 I'm using Spring-batch version 3.0.6.RELEASE to query a MySQL DB for some data and then process it. Details about usage: query provider is MySqlPagingQueryProvider when setting up the query provider I'm specifying an alias of one of the columns in the query as the sort key (please check the query below for more details) Query: SELECT target.tx_timestamp AS event_datetime, .... FROM some_table AS target .... WHERE target.tx_timestamp > :startTime AND target.tx_timestamp <= :endTime; The code: