public abstract static class TopiaMigrationCallbackByClass.MigrationCallBackForVersion extends Object
| Modifier and Type | Field and Description |
|---|---|
protected TopiaMigrationCallbackByClass |
callBack |
protected org.nuiton.util.version.Version |
version |
| Constructor and Description |
|---|
MigrationCallBackForVersion(org.nuiton.util.version.Version version,
TopiaMigrationCallbackByClass callBack) |
| Modifier and Type | Method and Description |
|---|---|
void |
executeSQL(TopiaContextImplementor tx,
boolean showSql,
boolean showProgression,
String... sqls) |
void |
executeSQL(TopiaContextImplementor tx,
String... sqls) |
protected String[] |
prepareMigration(TopiaContextImplementor tx,
boolean showSql,
boolean showProgression) |
protected abstract void |
prepareMigrationScript(TopiaContextImplementor tx,
List<String> queries,
boolean showSql,
boolean showProgression) |
protected final org.nuiton.util.version.Version version
protected final TopiaMigrationCallbackByClass callBack
public MigrationCallBackForVersion(org.nuiton.util.version.Version version,
TopiaMigrationCallbackByClass callBack)
protected String[] prepareMigration(TopiaContextImplementor tx, boolean showSql, boolean showProgression) throws TopiaException
TopiaExceptionprotected abstract void prepareMigrationScript(TopiaContextImplementor tx, List<String> queries, boolean showSql, boolean showProgression) throws TopiaException
TopiaExceptionpublic void executeSQL(TopiaContextImplementor tx, String... sqls) throws TopiaException
TopiaExceptionpublic void executeSQL(TopiaContextImplementor tx, boolean showSql, boolean showProgression, String... sqls) throws TopiaException
TopiaExceptionCopyright © 2004–2017 CodeLutin. All rights reserved.