public enum SchemaAutoTooling extends Enum<SchemaAutoTooling>
Enum Constant and Description |
---|
CREATE
Drop the schema and recreate it on SessionFactory startup.
|
CREATE_DROP
Drop the schema and recreate it on SessionFactory startup.
|
NONE
Do not attempt to update nor validate the schema.
|
UPDATE
Update (alter) the schema on SessionFactory startup.
|
VALIDATE
Validate the schema on SessionFactory startup.
|
Modifier and Type | Method and Description |
---|---|
static SchemaAutoTooling |
interpret(String configurationValue) |
static SchemaAutoTooling |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static SchemaAutoTooling[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final SchemaAutoTooling CREATE
public static final SchemaAutoTooling CREATE_DROP
public static final SchemaAutoTooling UPDATE
public static final SchemaAutoTooling VALIDATE
public static final SchemaAutoTooling NONE
public static SchemaAutoTooling[] values()
for (SchemaAutoTooling c : SchemaAutoTooling.values()) System.out.println(c);
public static SchemaAutoTooling 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 nullpublic static SchemaAutoTooling interpret(String configurationValue)
Copyright © 2017 JBoss by Red Hat. All rights reserved.