Anders Wallgren commented on an issue
Hibernate ORM / Bug HHH-8581
Batch update versioned with where clause generates bad SQL
Doing a batch update such as {{update versioned Animal set weight = 69 where weight = 0}} generates a SQLGrammarException.

{code}
org.hibernate.exception.SQLGrammarException: could not prepare statement
at org.hibernate.exception.internal.SQLStateConversionDelegate.convert(SQLStateConversionDelegate.java:123)
at org.hibernate.exception.internal.St...