Generate SQL fails on 3.0.8/3.1.1 when the database is created from scratch(applying all changes on empty database).
It works well on 3.0.3.
Command : liquibase --logLevel=info --changeLogFile=“changelog/changelog-master.xml” updateSQL
Trace:
INFO 1/30/14 11:21 AM:liquibase: Shutting down derby connection: jdbc:derby:/home/rraj/workspace/xyz;shutdown=true
Liquibase updateSQL Failed: liquibase.exception.DatabaseException: Error executing SQL select min(locked) as test from APP.DATABASECHANGELOGLOCK fetch first row only: Table/View ‘APP.DATABASECHANGELOGLOCK’ does not exist.
SEVERE 1/30/14 11:21 AM:liquibase: liquibase.exception.DatabaseException: Error executing SQL select min(locked) as test from APP.DATABASECHANGELOGLOCK fetch first row only: Table/View ‘APP.DATABASECHANGELOGLOCK’ does not exist.
liquibase.exception.LockException: liquibase.exception.DatabaseException: Error executing SQL select min(locked) as test from APP.DATABASECHANGELOGLOCK fetch first row only: Table/View ‘APP.DATABASECHANGELOGLOCK’ does not exist.
… 17 more