kirk.is | tools | sqlsmush
Take the SQL Executing Statement and replace the placeholders with values listed in Paremeters Line (both from the SQL log, especially when using iBATIS -- in intelliJ I could double click to select each line and then hit cmd-c to copy it, then paste it here)

(Currently rather stupid... might get fooled by stray question marks in the statement and stray commas in the parameters)

Executing Statement: (entire line)


Parameters Line: (entire line, including starting with Parmeters:)





Result: