How about to use here `NamedParameterJdbcTemplate` as you've done in the `JdbcChannelMessageStore#doPollForMessage` ?