That smells like the kind of bug that H2 sometimes has with determining the type of a parameter in a PreparedStatement.
Normally it can be worked around by using CAST around the ? so that H2 knows exactly what type to use there. Possibly we could track down the bug if you can provide a standalone test-case. -- You received this message because you are subscribed to the Google Groups "H2 Database" group. To unsubscribe from this group and stop receiving emails from it, send an email to h2-database+unsubscr...@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/h2-database/CAFYHVnW0hMkRm362G4BdaxeUz6C_4Jkx7fy4VW9QaNVZ7k5xMA%40mail.gmail.com.