Here is the simple program to reproduce the issue. Tested on h2-1.3.175.jar

    private static void testH2() {
        try {
            org.h2.Driver.load();
            String str = "select true and CASE WHEN (? = true) THEN true 
END";
            Connection conn = DriverManager.getConnection("jdbc:h2:./a", 
"", "");
            conn.prepareStatement(str);
        } catch (Exception e) {
            e.printStackTrace();
        }
    }

-- 
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 http://groups.google.com/group/h2-database.
For more options, visit https://groups.google.com/groups/opt_out.

Reply via email to