« Return to Thread: Changelog parameters

Re: Changelog parameters

by jfrapper :: Rate this Message:

Reply to Author | View in Thread

I get the help message, for example:

liquibase --driver=oracle.jdbc.OracleDriver --classpath=C:\oracle\product\10.2.0\db_1\jdbc\lib\ojdbc14.jar --changeLogFile=sql\base.changelog.xml -url="jdbc:oracle:thin:@local:1521:asdf" --username=my_user --password=my_pass Dschemaname=my_schema -Dtablespacedata=_data -Dtablespaceindex=_index updateSQL
Usage: java -jar liquibase.jar [options] [command]

Standard Commands:
 update                         Updates database to current version
 updateSQL                      Writes SQL to update database to current
                                version to STDOUT
 updateCount <num>              Applies next NUM changes to the database


Voxland, Nathan wrote:
What if you move your paremeters to before the update:

liquibase --driver=oracle.jdbc.OracleDriver
--classpath=C:\oracle\product\10.2.0\db_1\jdbc\lib\ojdbc14.jar
--changeLogFile=sql\base.changelog.xml --url="jdbc:oracle:thin:@myjdbc"
-username=my_username --password=my_password --logLevel=finest
-Dschema.name=my_schema -Dtablespace.data=data -Dtablespace.index=index
update

 « Return to Thread: Changelog parameters