public abstract class TopiaMigrationCallbackByMethod<PersistenceContext extends TopiaPersistenceContext & TopiaHibernateSupport & TopiaSqlSupport> extends AbstractTopiaMigrationCallback<PersistenceContext>
AbstractTopiaMigrationCallback.getAvailableVersions()
a method named migrate_on_XXX where XXX is the version with
all dots replaces by underscores.
Replace deprecated implementation TopiaMigrationCallBack.| Constructor and Description |
|---|
TopiaMigrationCallbackByMethod() |
| Modifier and Type | Method and Description |
|---|---|
protected void |
migrateForVersion(org.nuiton.util.Version version,
PersistenceContext tx,
boolean showSql,
boolean showProgression) |
askUser, doMigration, executeSQL, executeSQL, getAvailableVersions, getSqlSupportprotected void migrateForVersion(org.nuiton.util.Version version,
PersistenceContext tx,
boolean showSql,
boolean showProgression)
throws Exception
migrateForVersion in class AbstractTopiaMigrationCallback<PersistenceContext extends TopiaPersistenceContext & TopiaHibernateSupport & TopiaSqlSupport>ExceptionCopyright © 2004–2014 CodeLutin. All rights reserved.