I am trying to migrate from Hibernate 5 to 6 and I am a bit stuck with following code:
public class MySQL8DialectBitFixed extends MySQL8Dialect {
public MySQL8DialectBitFixed () {
// This class is being added b/c hibernate/MySQL doesn't work with boolean fields in the db.
// The data is not persisted properly.
super();
registerColumnType(Types.BIT, "tinyint(1)");
}
}
Is there a way to replace registerColumnType?