liquibase/liquibase — pull request #95 by vorbis (2013-01-28 19:59:29+00:00)
Title: Fixes for Hsqldb Integration tests and CORE-1229

Added fix suggested for Holger Willebrandt for GetViewDefinitionGeneratorHsql.
Tested and it works fine now.

Revved hsqldb to version 2.2.9
This version adheres to the sql standards.
It contains a TABLE_CONSTRAINTS table in the information_schema.
Added checks for HsqlDatabase to Int, Double, BigInt and Boolean toDatabaseType methods.
Sizes were being incorrectly appended. E.g. boolean(0);

Fixed bug with setting defaultSchemaName.
The default schema name that is set should be corrected by the implementing database.
E.g. setting 'liquibaseb' as the default schema name for Hsqldb is actually setting 'LIQUBASEB' as the defualt schema name.
This difference means that snapshot checks fail to realize that the DatabaseChangeLogLock table already exists.

Modified the correctObjectName method in AbstractJdbcDatabase.
Based on a conditional property unquotedObjectsAreUppercased, unquoted objects are either uppercased or lowercased.
This reflects typical database handling. Quoted objects don't have their case changed in any database that I've worked with.