Liquibase Rollback rollbackDate使用什么格式?

时间:2016-12-09 07:47:29

标签: liquibase

我正在使用liquibase在oracle数据库中进行更改 并运行以下命令

clean -PLocalLiquibaseScriptExecution liquibase:rollback -Dliquibase.rollbackDate="2016-12-09T11:49:00"

clean -PLocalLiquibaseScriptExecution liquibase:rollback -Dliquibase.rollbackDate='2016-12-09T11:49:00'

clean -PLocalLiquibaseScriptExecution liquibase:rollback -Dliquibase.rollbackDate=2016-12-09T11:49:00  


clean -PLocalLiquibaseScriptExecution liquibase:rollback -Dliquibase.rollbackDate="DEC 09 2016"
  

面向[ERROR]的所有尝试无法执行目标   org.liquibase:liquibase-maven-plugin:3.0.5:rollback(default-cli)on   project liquibase:设置或运行Liquibase时出错:错误   解析rollbackDate:无法解析的日期:" 2016-12-09T11:49:00" [错误]   日期必须匹配模式:MMM d,yyyy [ERROR] - > [帮助1]

对于

clean -PLocalLiquibaseScriptExecution liquibase:rollback -Dliquibase.rollbackDate="DEC 09, 2016"  

INFO 12/9/16 1:15 PM:liquibase: null: null: Successfully acquired change log lock
INFO 12/9/16 1:15 PM:liquibase: null: null: Reading from DATABASECHANGELOG
INFO 12/9/16 1:15 PM:liquibase: null: null: Successfully released change log lock  

但是如何提供像hh:mm:ss这样的时间?

1 个答案:

答案 0 :(得分:0)