As a workaround, you should enable the following configuration property:
hibernate.query.conventional_java_constants=false
I'll take a look on it once I get back from vacation.