public enum DDLMode extends Enum<DDLMode>
| Enum Constant and Description |
|---|
CREATE
Only create missing schemas and tables
|
DROP
Drop and recreate the schemas and tables
|
NONE
None
|
UPDATE
Only update the existing tables
|
| Modifier and Type | Method and Description |
|---|---|
static DDLMode |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static DDLMode[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final DDLMode DROP
public static final DDLMode CREATE
public static final DDLMode UPDATE
public static final DDLMode NONE
public static DDLMode[] values()
for (DDLMode c : DDLMode.values()) System.out.println(c);
public static DDLMode 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 © 2012-2013 Batoo. All Rights Reserved.