Liquibase Community Forum
2010-12-08 19:13:19 UTC
A new topic, 'AbstractMethodError with ModifyColumn 2.0 extension and Liquibase 2.0-RC7', has been made on a board you are watching.
You can see it at
http://liquibase.org/forum/index.php?topic=822.new#new
The text of the topic is shown below:
I'm trying to upgrade from liquibase 1.9.1 to Liquibase 2.0-RC7 and I'm running into some trouble. Some of our older changesets use the modifyColumn tag, so at least for now I need to use the ModifyColumn extension to make those work.
When I run our existing changelog everything seems to work fine right up until it hits the first changeSet that uses the modifyColumn tag, then then Liquibase blows an error and halts. Has anyone else encountered anything similar?
Here's the changeSet:
Code:
<changeSet id="ChangeSetName" author="theAuthor" context="audit">
<modifyColumn tableName="TheTableName">
<column name="message" type="varchar(2000)"/>
</modifyColumn>
</changeSet>
When it reaches that changeset, I get the following stack trace:
Code:
java.lang.AbstractMethodError
at liquibase.database.AbstractDatabase.execute(AbstractDatabase.java:997)
at liquibase.database.AbstractDatabase.executeStatements(AbstractDatabase.java:985)
at liquibase.changelog.ChangeSet.execute(ChangeSet.java:257)
at liquibase.changelog.visitor.UpdateVisitor.visit(UpdateVisitor.java:27)
at liquibase.changelog.ChangeLogIterator.run(ChangeLogIterator.java:58)
at liquibase.Liquibase.update(Liquibase.java:112)
Unsubscribe to new topics from this board by clicking here: http://liquibase.org/forum/index.php?action=notifyboard;board=1.0
Regards,
The Liquibase Community Forum Team.
You can see it at
http://liquibase.org/forum/index.php?topic=822.new#new
The text of the topic is shown below:
I'm trying to upgrade from liquibase 1.9.1 to Liquibase 2.0-RC7 and I'm running into some trouble. Some of our older changesets use the modifyColumn tag, so at least for now I need to use the ModifyColumn extension to make those work.
When I run our existing changelog everything seems to work fine right up until it hits the first changeSet that uses the modifyColumn tag, then then Liquibase blows an error and halts. Has anyone else encountered anything similar?
Here's the changeSet:
Code:
<changeSet id="ChangeSetName" author="theAuthor" context="audit">
<modifyColumn tableName="TheTableName">
<column name="message" type="varchar(2000)"/>
</modifyColumn>
</changeSet>
When it reaches that changeset, I get the following stack trace:
Code:
java.lang.AbstractMethodError
at liquibase.database.AbstractDatabase.execute(AbstractDatabase.java:997)
at liquibase.database.AbstractDatabase.executeStatements(AbstractDatabase.java:985)
at liquibase.changelog.ChangeSet.execute(ChangeSet.java:257)
at liquibase.changelog.visitor.UpdateVisitor.visit(UpdateVisitor.java:27)
at liquibase.changelog.ChangeLogIterator.run(ChangeLogIterator.java:58)
at liquibase.Liquibase.update(Liquibase.java:112)
Unsubscribe to new topics from this board by clicking here: http://liquibase.org/forum/index.php?action=notifyboard;board=1.0
Regards,
The Liquibase Community Forum Team.