You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.
Which client are you using? (Command-line, Java API, Maven plugin, Gradle plugin, SBT plugin, ANT tasks)
maven plugin
What database are you using (type & version)?
db2 10.5
What operating system are you using?
windows/linux
What did you do?
(Please include the content causing the issue, any relevant configuration settings, and the command you ran)
flyway:clean
What did you expect to see?
[INFO] Successfully dropped schema "TESTSCHEMA" (execution time 00:10.829s)
[INFO] ------------------------------------------------------------------------
[INFO] BUILD SUCCESS
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 17.108 s
[INFO] Finished at: 2017-05-27T14:49:59+02:00
[INFO] Final Memory: 28M/407M
[INFO] ------------------------------------------------------------------------
What did you see instead?
[INFO] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 7.076 s
[INFO] Finished at: 2017-05-27T14:54:01+02:00
[INFO] Final Memory: 27M/406M
[INFO] ------------------------------------------------------------------------
[ERROR] Failed to execute goal org.flywaydb:flyway-maven-plugin:4.2.0:clean (default-cli) on project uppfoljning: org.flywaydb.core.internal.dbsupport.FlywaySqlException:
[ERROR] Unable to clean schema "TESTSCHEMA"
[ERROR] ------------------------------------
[ERROR] SQL State : 42997
[ERROR] Error Code : -270
[ERROR] Message : DB2 SQL Error: SQLCODE=-270, SQLSTATE=42997, SQLERRMC=21, DRIVER=4.19.66
...
SQL State : 42997
Error Code : -270
Message : DB2 SQL Error: SQLCODE=-270, SQLSTATE=42997, SQLERRMC=21, DRIVER=4.19.66
at org.flywaydb.maven.AbstractFlywayMojo.execute(AbstractFlywayMojo.java:602)
at org.apache.maven.plugin.DefaultBuildPluginManager.executeMojo(DefaultBuildPluginManager.java:134)
at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:207)
... 20 more
Caused by: com.ibm.db2.jcc.am.SqlSyntaxErrorException: DB2 SQL Error: SQLCODE=-270, SQLSTATE=42997, SQLERRMC=21, DRIVER=4.19.66
at com.ibm.db2.jcc.am.kd.a(kd.java:747)
at com.ibm.db2.jcc.am.kd.a(kd.java:66)
at com.ibm.db2.jcc.am.kd.a(kd.java:135)
at com.ibm.db2.jcc.am.fp.b(fp.java:2439)
at com.ibm.db2.jcc.am.fp.c(fp.java:2422)
at com.ibm.db2.jcc.t4.bb.l(bb.java:408)
at com.ibm.db2.jcc.t4.bb.a(bb.java:62)
at com.ibm.db2.jcc.t4.p.a(p.java:50)
at com.ibm.db2.jcc.t4.wb.b(wb.java:220)
at com.ibm.db2.jcc.am.gp.uc(gp.java:3564)
at com.ibm.db2.jcc.am.gp.b(gp.java:4549)
at com.ibm.db2.jcc.am.gp.oc(gp.java:2867)
at com.ibm.db2.jcc.am.gp.execute(gp.java:2842)
at org.flywaydb.core.internal.dbsupport.JdbcTemplate.execute(JdbcTemplate.java:248)
at org.flywaydb.core.internal.dbsupport.db2.DB2Schema.doClean(DB2Schema.java:81)
at org.flywaydb.core.internal.dbsupport.Schema.clean(Schema.java:148)
at org.flywaydb.core.internal.dbsupport.db2.DB2Schema.doDrop(DB2Schema.java:69)
at org.flywaydb.core.internal.dbsupport.Schema.drop(Schema.java:130)
The text was updated successfully, but these errors were encountered:
msallstr
added a commit
to msallstr/flyway
that referenced
this issue
May 27, 2017
What version of Flyway are you using?
4.2.0
Which client are you using? (Command-line, Java API, Maven plugin, Gradle plugin, SBT plugin, ANT tasks)
maven plugin
What database are you using (type & version)?
db2 10.5
What operating system are you using?
windows/linux
What did you do?
(Please include the content causing the issue, any relevant configuration settings, and the command you ran)
flyway:clean
What did you expect to see?
[INFO] Successfully dropped schema "TESTSCHEMA" (execution time 00:10.829s)
[INFO] ------------------------------------------------------------------------
[INFO] BUILD SUCCESS
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 17.108 s
[INFO] Finished at: 2017-05-27T14:49:59+02:00
[INFO] Final Memory: 28M/407M
[INFO] ------------------------------------------------------------------------
What did you see instead?
[INFO] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 7.076 s
[INFO] Finished at: 2017-05-27T14:54:01+02:00
[INFO] Final Memory: 27M/406M
[INFO] ------------------------------------------------------------------------
[ERROR] Failed to execute goal org.flywaydb:flyway-maven-plugin:4.2.0:clean (default-cli) on project uppfoljning: org.flywaydb.core.internal.dbsupport.FlywaySqlException:
[ERROR] Unable to clean schema "TESTSCHEMA"
[ERROR] ------------------------------------
[ERROR] SQL State : 42997
[ERROR] Error Code : -270
[ERROR] Message : DB2 SQL Error: SQLCODE=-270, SQLSTATE=42997, SQLERRMC=21, DRIVER=4.19.66
...
The text was updated successfully, but these errors were encountered: