Hello. What version of H2 do you use? Could you provide a complete test case?
I cannot reproduce this problem with 1.4.197. LIKE '%' || ? || '%' works as expected. SELECT * FROM TESTTABLE WHERE NAME '%' || ? || '%' This statement is not correct, LIKE should be used. Note that ?, _, and \ characters have special meaning in right side of LIKE operator. If value of your parameter may contain them as normal characters, they should be escaped with another \ character. It is not related with your problem, however. -- 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 [email protected]. To post to this group, send email to [email protected]. Visit this group at https://groups.google.com/group/h2-database. For more options, visit https://groups.google.com/d/optout.
