Diff is case-sensitive on column names

Description

I am doint this test:

  • generate a changelog from an hibernate mapping (tables and column names have mixed case)

  • create a hsqldb database using the changelog

  • diff between the hibernate mapping and the database

Liquibase finds lots of differences because of case changes on the column names.

Looking at the code liquibase.diff.compare.core.DefaultDatabaseObjectComparator.findDifferences(DatabaseObject, DatabaseObject, Database, DatabaseObjectComparatorChain) compares database objects names case insensitively using liquibase.diff.ObjectDifferences.DatabaseObjectNameCompareFunction but all the other attributes are compared case sensitively using liquibase.diff.ObjectDifferences.StandardCompareFunction

Environment

Liquibase 3.0.4, hsqldb 2.2.9, Hibernate 3.6.10

Reporter

FrancoisB

Components

Fix versions

Affects versions

Priority

Major
Configure