1

Others have asked how to do this with object queries.

I want to map a list of strings to a IN clause in SQL (mysql) using JDBIs fluent interface.

Pablo Fernandez
  • 98,892
  • 55
  • 184
  • 226

1 Answers1

0

I don't think it's possible out of the box.
When I had to implement similar thing, I've used StringBuilder, StringUtils.repeat("?,") to build a prepared query, and then for-loop to bind values from collection as query arguments.

Slava Medvediev
  • 1,203
  • 13
  • 30