Test case for this JDBI issue. To run: $ ./gradlew[.bat] run To get the error, comment the KotlinSqlObjectPlugin installation in Main.kt and re-run.