A new topic, 'Generate Change Log in case sensitive database fails.', has been 
made on a board you are watching.

You can see it at
http://liquibase.org/forum/index.php?topic=883.new#new

The text of the topic is shown below:

I tried generating a change log using many different versions of Liquibase and 
keep getting an error with "invalid column name". I eventually downloaded the 
source and debugged the code and found the problem occurs when there are two 
different tables with the same name, but a difference in case. Problem is in 
class liquibase.database.Database.DatabaseSnapshot, Method getTable :

    public Table getTable(String tableName) {
        for (Table table : getTables()) {
            if (table.getName().equalsIgnoreCase(tableName)) {
                return table;
            }
        }
        return null;
    }

changed "equalsIgnoreCase" to "equals" and appears to work. Unsure if there are 
problems elsewhere in the code

Unsubscribe to new topics from this board by clicking here: 
http://liquibase.org/forum/index.php?action=notifyboard;board=1.0

Regards,
The Liquibase Community Forum Team.
------------------------------------------------------------------------------
Learn how Oracle Real Application Clusters (RAC) One Node allows customers
to consolidate database storage, standardize their database environment, and, 
should the need arise, upgrade to a full multi-node Oracle RAC database 
without downtime or disruption
http://p.sf.net/sfu/oracle-sfdevnl
_______________________________________________
Liquibase-user mailing list
Liquibase-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/liquibase-user

Reply via email to