public static enum HibernateConfigurator.Mode extends Enum<HibernateConfigurator.Mode>
| Enum Constant and Description |
|---|
CREATE |
NONE
Assume the database is correct and the same as the Hibernate expected schema.
|
UPDATE |
| Modifier and Type | Method and Description |
|---|---|
static HibernateConfigurator.Mode |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static HibernateConfigurator.Mode[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final HibernateConfigurator.Mode NONE
public static final HibernateConfigurator.Mode UPDATE
public static final HibernateConfigurator.Mode CREATE
public static HibernateConfigurator.Mode[] values()
for (HibernateConfigurator.Mode c : HibernateConfigurator.Mode.values()) System.out.println(c);
public static HibernateConfigurator.Mode 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 © 2017 etc.to. All rights reserved.