Hello.

It looks like a bug of Hibernate ORM.

The basic Dialect class has the following method:

public String toBooleanValueString(boolean bool) {

return bool ? "1" : "0";

}

It is obliviously wrong for any database system that has BOOLEAN data type.

H2Dialect should override this method to avoid generation of invalid SQL.

Please, report this issue here:
https://hibernate.atlassian.net/browse/HHH

-- 
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 view this discussion on the web visit 
https://groups.google.com/d/msgid/h2-database/754f298c-e68b-44e5-8127-7a8747c83448n%40googlegroups.com.

Reply via email to