In CreateIfNoSchemaStrategy, I have run into problems with HSQLDB 
and upper/mixed case table names.

In particular, if I lower or mixed case my DBEntity name, the resulting 
tables are not found by CreateIfNoSchemaStrategy whenI use 
HSQLDB.

I found that if I convert all table name checks to upper case, then 
CreateIfNoSchemaStrategy finds the existing table and does not try to 
regenerate it.

Is this a general solution? Will it break anything else? Should I raise a 
JIRA ticket?

Regards,
Kevin

        while (it.hasNext()) {
            if (nameTables.get(it.next().getName().toUpperCase()) != null) {
                generate = false;
                break;
            }
        }


and 

                while (rs.next()) {
                    String name = rs.getString("TABLE_NAME");
                    nameTables.put(name.toUpperCase(), false);
                }

Reply via email to