public enum MigrationStrategy extends Enum<MigrationStrategy>
| Enum Constant and Description |
|---|
ADD_MISSING_TABLES |
ADD_MISSING_TABLES_AND_COLUMNS |
DROP_AND_RECREATE_ALL |
DROP_AND_RECREATE_IF_MISMATCH |
USE_EXISTING |
| Modifier and Type | Method and Description |
|---|---|
static MigrationStrategy |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static MigrationStrategy[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final MigrationStrategy USE_EXISTING
public static final MigrationStrategy ADD_MISSING_TABLES
public static final MigrationStrategy ADD_MISSING_TABLES_AND_COLUMNS
public static final MigrationStrategy DROP_AND_RECREATE_ALL
public static final MigrationStrategy DROP_AND_RECREATE_IF_MISMATCH
public static MigrationStrategy[] values()
for (MigrationStrategy c : MigrationStrategy.values()) System.out.println(c);
public static MigrationStrategy valueOf(String name)
name - the name of the enum constant to be returned.IllegalArgumentException - if this enum type has no constant with the specified nameNullPointerException - if the argument is nullCopyright © 2023. All rights reserved.