0 Replies Latest reply on Feb 6, 2006 1:41 AM by Dave Chen

    upgrade MySQL 5.0.18, boolean type data too long

    Dave Chen Master

      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.