MySQL 4.1 uses TINYINT for Boolean type, but MySQL 5.0 use Bit(1). After upgrading to MySQL 5.0 and all mapping tables have been re-created.
I got
Data too long for column "read" that is a boolean type.
when inserting a row.
How to solve this problem?
Where is the Hibernate configuration generated, such as *.hbm ?
Thanks.