Hi
I’ve a few change sets that are simple sql inserts/updates to handle my reference data, for example:
INSERT INTO Variable (id, version, core, created_on, description, name)
VALUES
(‘ce02bb08-ae7d-4f9c-a94b-bc2a7fcd982c’, 0, 1, ‘2013-08-29 14:55:09’, ‘desc 1’, ‘name 1’),
(‘53c50b45-8b3b-4061-9594-b1fe3826080f’, 0, 1, ‘2013-08-29 14:55:09’, ‘desc 2’, ‘name 2’);
where the column 'core has been defined as:
Eg, my sample data set use 0 and 1 for boolean values.
This works w/out problem with liquibase 3.0.5 against Derby 10.10 and mySql 5.5.
This fails with liquibase 3.0.6 against Derby:
Error executing SQL INSERT INTO Variable …: Columns of type ‘BOOLEAN’ cannot hold values of type ‘INTEGER’.
at liquibase.Liquibase.update(Liquibase.java:137)