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
  • 103,170
  • 56
  • 192
  • 232

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,431
  • 19
  • 35