public abstract class AbstractDropNotNullDataMigration extends AbstractHibernateDataMigration
componentManager, manager
Constructor and Description |
---|
AbstractDropNotNullDataMigration(Class<?> table,
String property) |
Modifier and Type | Method and Description |
---|---|
String |
getLiquibaseChangeLog() |
protected void |
hibernateMigrate()
Execute the migration itself.
|
getCurrentDBVersion, getName, getPreHibernateLiquibaseChangeLog, getStore, getXWikiContext, migrate, shouldExecute
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
getDescription, getVersion
public String getLiquibaseChangeLog() throws DataMigrationException
getLiquibaseChangeLog
in interface HibernateDataMigration
getLiquibaseChangeLog
in class AbstractHibernateDataMigration
DataMigrationException
- on errorprotected void hibernateMigrate() throws DataMigrationException, XWikiException
AbstractHibernateDataMigration
hibernateMigrate
in class AbstractHibernateDataMigration
DataMigrationException
- on migration error.XWikiException
- on error from the store.Copyright © 2004–2021 XWiki. All rights reserved.