Enum SchemaAutoTooling

    • Enum Constant Detail

      • CREATE

        public static final SchemaAutoTooling CREATE
        Drop the schema and recreate it on SessionFactory startup.
      • CREATE_DROP

        public static final SchemaAutoTooling CREATE_DROP
        Drop the schema and recreate it on SessionFactory startup. Additionally, drop the schema on SessionFactory shutdown.
      • CREATE_ONLY

        public static final SchemaAutoTooling CREATE_ONLY
        Create the schema on SessionFactory startup.
      • DROP

        public static final SchemaAutoTooling DROP
        Drop the schema and don't recreate it.
      • UPDATE

        public static final SchemaAutoTooling UPDATE
        Update (alter) the schema on SessionFactory startup.
      • VALIDATE

        public static final SchemaAutoTooling VALIDATE
        Validate the schema on SessionFactory startup.
      • NONE

        public static final SchemaAutoTooling NONE
        Do not attempt to update nor validate the schema.
    • Method Detail

      • values

        public static SchemaAutoTooling[] values()
        Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:
        for (SchemaAutoTooling c : SchemaAutoTooling.values())
            System.out.println(c);
        
        Returns:
        an array containing the constants of this enum type, in the order they are declared
      • valueOf

        public static SchemaAutoTooling valueOf​(String name)
        Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)
        Parameters:
        name - the name of the enum constant to be returned.
        Returns:
        the enum constant with the specified name
        Throws:
        IllegalArgumentException - if this enum type has no constant with the specified name
        NullPointerException - if the argument is null