Ant- update database outputDefaultSchema property

Hi all, first, thanks for the great tool!

I am generating a release script using ant database update and the outputFile attribute. The problem I have is ant is generating the script prefixing the schema name to all the commands.


CREATE SEQUENCE UAT.hibernate_sequence;

I am trying to set the 

It looks like it didn’t make it to the ant scripts yet. I created to track the problem.

However, the outputDefaultSchema flag is just used in generating the changelog from an existing database. If you don’t want to hard-code the schema, you can strip out the catalogName and schemaName attributes with a search/replace. 

Once they are out of the changelog file, the generated SQL will not have them specified.


Thanks Nathan, I’ll do the find and replace.

Pull request for adding the flags to the ant task.

Thanks, I’ll take a look at the pull request.