In order to address the #580 properly, we need to be able to customize SQL queries used by `JdbcOperationsSessionRepository`. I'll provide the PR to address both this and #580 shortly.