[hibernate-dev] Boolean with null values and SAP SQL Anywhere

Guillaume Smet guillaume.smet at gmail.com
Fri Nov 2 10:41:02 EDT 2018


Hi,

Quite some time ago, someone opened
https://hibernate.atlassian.net/browse/HHH-12850 stating that null values
were not supported for Booleans with SAP SQL Anywhere.

This is due to the fact that null values are not supported for bits and we
should use a tinyint. Interestingly enough, it was fixed for Sybase here:
https://hibernate.atlassian.net/browse/HHH-5413 .

Changing this will probably lead to compatibility issues but I think a note
in the migration guide requiring a migration from bit to tinyint would be
sufficient and 5.4.0 would be a good opportunity to do it.

Thoughts?

-- 
Guillaume


More information about the hibernate-dev mailing list