JDBC sends Timestamp params as strings, causing toStartOfFiveMinutes() to fail with 'Illegal type String'. Floor to 5-minute boundaries in Java instead and pass plain bucket >= ? comparisons. Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>