# LB 3.0.2 against DB2 : Error with dropAllDatabaseObjects

**URL:** <https://forum.liquibase.org/t/lb-3-0-2-against-db2-error-with-dropalldatabaseobjects/2342>\
**Category:** General Discussion\
**Created:** [August 1, 2013, 9:31pm UTC](https://forum.liquibase.org/t/lb-3-0-2-against-db2-error-with-dropalldatabaseobjects/2342 "2013-08-01T21:31:00Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![franksch\_lb](https://avatars.discourse-cdn.com/v4/letter/f/9de053/32.png) [@franksch\_lb](https://forum.liquibase.org/u/franksch_lb)\
**Post date:** [August 1, 2013, 9:31pm UTC](https://forum.liquibase.org/t/lb-3-0-2-against-db2-error-with-dropalldatabaseobjects/2342/1 "2013-08-01T21:31:00Z")

</div>

Hi all,

we have tested LB 3.0.2 (using Ant 1.8.2) with our scripts (in order to upgrade from LB 2.0.1) against DB2 v9.7.0.5 and found an error:

&nbsp; &nbsp; \<dropAllDatabaseObjects

&nbsp; &nbsp; &nbsp; &nbsp; driver="@{attribute.targetdb.driver}"

&nbsp; &nbsp; &nbsp; &nbsp; classpathref=“classpath”

&nbsp; &nbsp; &nbsp; &nbsp; url="@{attribute.targetdb.url}"

&nbsp; &nbsp; &nbsp; &nbsp; username="@{attribute.targetdb.user}"

&nbsp; &nbsp; &nbsp; &nbsp; password="@{attribute.targetdb.pwd}"

&nbsp; &nbsp; &nbsp; &nbsp; defaultSchemaName="@{attribute.targetdb.schema}"

&nbsp; &nbsp; &nbsp; &nbsp; schemas="@{attribute.targetdb.schema}"

&nbsp; &nbsp; &nbsp; &nbsp; promptOnNonLocalDatabase="${liquibase.prompt.non.local.db}"

&nbsp; &nbsp; /\>

[dropAllDatabaseObjects] INFO 01.08.13 16:10:liquibase: Successfully acquired change log lock

[dropAllDatabaseObjects] INFO 01.08.13 16:10:liquibase: Dropping Database Objects in schema:&nbsp;&nbsp;(another thread of mine).

This Ant script works fine with LB LB 2.0.1.

Kind regards,

Frank

---

<div class="post-metadata">

**Author:** ![un1384346908173r96id](https://avatars.discourse-cdn.com/v4/letter/u/a8b319/32.png) [@un1384346908173r96id](https://forum.liquibase.org/u/un1384346908173r96id)\
**Post date:** [August 1, 2013, 9:31pm UTC](https://forum.liquibase.org/t/lb-3-0-2-against-db2-error-with-dropalldatabaseobjects/2342/2 "2013-08-01T21:31:00Z")

</div>

Hi all,

Martin
