I\'m trying to upgrade from Hibernate 3.6.5 to 4.0 (and from Spring 3.0.5 to 3.1 which is required for Hibernate 4 support).
Now, with both MySQL and HSQL, I\'m runn
I had the same problem and I extended the Dialect to take into account the fact that mysql treats boolean as an alias of bit.
public class Mysql5BitBooleanDialect extends MySQL5Dialect{
public Mysql5BitBooleanDialect() {
super();
registerColumnType( java.sql.Types.BOOLEAN, "bit" );
}
}
I don't use longer bit() fields (to represent for example byte[]) so this might break that.