- getApplySuffix() - Method in class io.ebean.migration.MigrationConfig
-
Return the suffix for migration resources (defaults to .sql).
- getChecksum() - Method in interface io.ebean.migration.MigrationChecksumProvider
-
Return the checksum for the given migration.
- getChecksum() - Method in class io.ebean.migration.runner.LocalJdbcMigrationResource
-
Returns the checksum of the migration routine.
- getClassLoader() - Method in class io.ebean.migration.MigrationConfig
-
Return the ClassLoader to use to load resources.
- getComment() - Method in class io.ebean.migration.MigrationVersion
-
Return the version comment.
- getComment() - Method in class io.ebean.migration.runner.LocalMigrationResource
-
Return the migration comment.
- getContent() - Method in class io.ebean.migration.runner.LocalDdlMigrationResource
-
Return the content for the migration apply ddl script.
- getContent() - Method in class io.ebean.migration.runner.LocalJdbcMigrationResource
-
- getContent() - Method in class io.ebean.migration.runner.LocalMigrationResource
-
Return the content of the migration.
- getDbDriver() - Method in class io.ebean.migration.MigrationConfig
-
Return the DB Driver.
- getDbPassword() - Method in class io.ebean.migration.MigrationConfig
-
Return the DB password.
- getDbSchema() - Method in class io.ebean.migration.MigrationConfig
-
Return the DB connection Schema.
- getDbUrl() - Method in class io.ebean.migration.MigrationConfig
-
Return the DB connection URL.
- getDbUsername() - Method in class io.ebean.migration.MigrationConfig
-
Return the DB username.
- getFull() - Method in class io.ebean.migration.MigrationVersion
-
Return the full version.
- getJdbcMigrationFactory() - Method in class io.ebean.migration.MigrationConfig
-
Returns the jdbcMigrationFactory.
- getLocation() - Method in class io.ebean.migration.runner.LocalMigrationResource
-
Return the resource location.
- getMetaTable() - Method in class io.ebean.migration.MigrationConfig
-
Return the name of the migration table.
- getMigration() - Method in class io.ebean.migration.runner.LocalJdbcMigrationResource
-
Return the migration
- getMigrationInitPath() - Method in class io.ebean.migration.MigrationConfig
-
Return the path for containing init migration scripts.
- getMigrationPath() - Method in class io.ebean.migration.MigrationConfig
-
Return the root path used to find migrations.
- getPatchInsertOn() - Method in class io.ebean.migration.MigrationConfig
-
Return the migrations that should not be run but inserted into history as if they have run.
- getPatchResetChecksumOn() - Method in class io.ebean.migration.MigrationConfig
-
Return the migrations that should have their checksum reset.
- getPlatformName() - Method in class io.ebean.migration.MigrationConfig
-
Return the DB platform name (used for platform create table and select for update syntax).
- getRaw() - Method in class io.ebean.migration.MigrationVersion
-
Return the version in raw form.
- getRunPlaceholderMap() - Method in class io.ebean.migration.MigrationConfig
-
Return a map of name/value pairs that can be expressions replaced in migration scripts.
- getRunPlaceholders() - Method in class io.ebean.migration.MigrationConfig
-
Return a Comma and equals delimited key/value placeholders to replace in DDL scripts.
- getType() - Method in class io.ebean.migration.MigrationVersion
-
Return the version type (I, R or V).
- getType() - Method in class io.ebean.migration.runner.LocalMigrationResource
-
Return the type code ("R" or "V") for this migration.
- getVersion() - Method in class io.ebean.migration.runner.LocalMigrationResource
-
Return the underlying migration version.
- getVersions() - Method in class io.ebean.migration.runner.LocalMigrationResources
-
Return the list of migration resources in version order.
- getVersions() - Method in class io.ebean.migration.runner.MigrationTable
-
Returns the versions that are already applied.
- readInitResources() - Method in class io.ebean.migration.runner.LocalMigrationResources
-
Read the init migration resources (usually only 1) returning true if there are versions.
- readResources() - Method in class io.ebean.migration.runner.LocalMigrationResources
-
Read all the migration resources (SQL scripts) returning true if there are versions.
- readUtf8(URL) - Static method in class io.ebean.migration.util.IOUtils
-
Reads the entire contents of the specified URL and return them as UTF-8 string.
- readUtf8(InputStream) - Static method in class io.ebean.migration.util.IOUtils
-
Reads the entire contents of the specified input stream and return them as UTF-8 string.
- replace(String, String, String) - Static method in class io.ebean.migration.runner.ScriptTransform
-
Transform just ${table} with the table name.
- rollback(Connection) - Static method in class io.ebean.migration.util.JdbcClose
-
Rollback the connection logging if an error occurs.
- run() - Method in class io.ebean.migration.MigrationRunner
-
Run by creating a DB connection from driver, url, username defined in MigrationConfig.
- run(DataSource) - Method in class io.ebean.migration.MigrationRunner
-
Run using the connection from the DataSource.
- run(Connection) - Method in class io.ebean.migration.MigrationRunner
-
Run the migrations if there are any that need running.
- runAll(String, Connection) - Method in class io.ebean.migration.ddl.DdlRunner
-
Parse the content into sql statements and execute them in a transaction.
- runAll(List<LocalMigrationResource>) - Method in class io.ebean.migration.runner.MigrationTable
-
Run all the migrations in order as needed.
- runInit(LocalMigrationResource, List<LocalMigrationResource>) - Method in class io.ebean.migration.runner.MigrationTable
-
Run using an init migration.
- ScriptTransform - Class in io.ebean.migration.runner
-
Transforms a SQL script given a map of key/value substitutions.
- setAllowErrorInRepeatable(boolean) - Method in class io.ebean.migration.MigrationConfig
-
Set to true to continue running the migration when a repeatable migration fails.
- setApplySuffix(String) - Method in class io.ebean.migration.MigrationConfig
-
Set the suffix for migration resources.
- setClassLoader(ClassLoader) - Method in class io.ebean.migration.MigrationConfig
-
Set the ClassLoader to use when loading resources.
- setCommitOnCreateIndex() - Method in class io.ebean.migration.ddl.DdlRunner
-
Needed for Cockroach DB.
- setCreateSchemaIfNotExists(boolean) - Method in class io.ebean.migration.MigrationConfig
-
Set to create Schema if it does not exist.
- setDbDriver(String) - Method in class io.ebean.migration.MigrationConfig
-
Set the DB Driver.
- setDbPassword(String) - Method in class io.ebean.migration.MigrationConfig
-
Set the DB password.
- setDbSchema(String) - Method in class io.ebean.migration.MigrationConfig
-
Set the DB connection Schema.
- setDbUrl(String) - Method in class io.ebean.migration.MigrationConfig
-
Set the DB connection URL.
- setDbUsername(String) - Method in class io.ebean.migration.MigrationConfig
-
Set the DB username.
- setInitType() - Method in class io.ebean.migration.runner.LocalMigrationResource
-
Set the migration to be an Init migration.
- setJdbcMigrationFactory(JdbcMigrationFactory) - Method in class io.ebean.migration.MigrationConfig
-
Sets the jdbcMigrationFactory.
- setMetaTable(String) - Method in class io.ebean.migration.MigrationConfig
-
Set the name of the migration table.
- setMigrationConfig(MigrationConfig) - Method in interface io.ebean.migration.ConfigurationAware
-
Set the configuration being used.
- setMigrationInitPath(String) - Method in class io.ebean.migration.MigrationConfig
-
Set the path containing init migration scripts.
- setMigrationPath(String) - Method in class io.ebean.migration.MigrationConfig
-
Set the root path used to find migrations.
- setPatchInsertOn(String) - Method in class io.ebean.migration.MigrationConfig
-
Set the migrations that should not be run but inserted into history as if they have run.
- setPatchInsertOn(Set<String>) - Method in class io.ebean.migration.MigrationConfig
-
Set the migrations that should not be run but inserted into history as if they have run.
- setPatchResetChecksumOn(String) - Method in class io.ebean.migration.MigrationConfig
-
Set the migrations that should have their checksum reset as a comma delimited list.
- setPatchResetChecksumOn(Set<String>) - Method in class io.ebean.migration.MigrationConfig
-
Set the migrations that should have their checksum reset.
- setPlatformName(String) - Method in class io.ebean.migration.MigrationConfig
-
Set a DB platform name (to load specific create table and select for update syntax).
- setRunPlaceholderMap(Map<String, String>) - Method in class io.ebean.migration.MigrationConfig
-
Set a map of name/value pairs that can be expressions replaced in migration scripts.
- setRunPlaceholders(String) - Method in class io.ebean.migration.MigrationConfig
-
Set a Comma and equals delimited key/value placeholders to replace in DDL scripts.
- setSetCurrentSchema(boolean) - Method in class io.ebean.migration.MigrationConfig
-
Set if the dbSchema should be set as current schema.
- setSkipChecksum(boolean) - Method in class io.ebean.migration.MigrationConfig
-
Set to true to skip the checksum check.
- size() - Method in class io.ebean.migration.runner.MigrationTable
-
Return the number of migrations in the DB migration table.
- SQLANYWHERE - Static variable in interface io.ebean.migration.DbPlatformNames
-
- SQLITE - Static variable in interface io.ebean.migration.DbPlatformNames
-
- SQLSERVER - Static variable in interface io.ebean.migration.DbPlatformNames
-
- SqlServer() - Constructor for class io.ebean.migration.runner.MigrationPlatform.SqlServer
-