DbAccessor, ConnectionProvider, Migrationpublic abstract class MigrationBase extends java.lang.Object implements Migration
| Constructor | Description |
|---|---|
MigrationBase() |
| Modifier and Type | Method | Description |
|---|---|---|
boolean |
completed() |
Has this migration been successfully completed.
|
java.sql.Connection |
getConnection() |
Get a JDBC database connection.
|
boolean |
runAlways() |
Run this migration every time the Manager does migrations, even if previously performed.
|
java.lang.String |
toString() |
dbEnrich, dbExecute, dbFind, dbInsertGetGeneratedKeys, dbQuery, dbUpdate, streamgetDescription, getIdentifier, performpublic boolean runAlways()
Migrationpublic java.sql.Connection getConnection()
throws java.sql.SQLException
ConnectionProvidergetConnection in interface ConnectionProviderjava.sql.SQLException - if a connection can not be returnedpublic boolean completed()
Migrationpublic java.lang.String toString()
toString in class java.lang.Object