It strikes me that maybe the root problem is that Christopher is doing
things in such an order that the server is asked to parse the SQL string
before the setDate() is done. Don't know enough details about JDBC to
translate that idea into code, though.
regards, tom lane