Class SchemaUpdate

  • public class SchemaUpdate
    extends java.lang.Object
    A commandline tool to update a database schema. May also be called from inside an application.
    • Constructor Detail

      • SchemaUpdate

        public SchemaUpdate()
    • Method Detail

      • execute

        public void execute​(java.util.EnumSet<TargetType> targetTypes,
                            Metadata metadata)
      • getExceptions

        public java.util.List getExceptions()
        Returns a List of all Exceptions which occurred during the export.
        A List containing the Exceptions occurred during the export
      • setHaltOnError

        public SchemaUpdate setHaltOnError​(boolean haltOnError)
      • setFormat

        public SchemaUpdate setFormat​(boolean format)
      • setOutputFile

        public SchemaUpdate setOutputFile​(java.lang.String outputFile)
      • setDelimiter

        public SchemaUpdate setDelimiter​(java.lang.String delimiter)
        Set the end of statement delimiter
        delimiter - The delimiter
      • main

        public static void main​(java.lang.String[] args)
      • buildMetadataFromMainArgs

        public static MetadataImplementor buildMetadataFromMainArgs​(java.lang.String[] args)
                                                             throws java.lang.Exception
        Intended for test usage only. Builds a Metadata using the same algorithm as main(java.lang.String[])
        args - The "command line args"
        The built Metadata
        java.lang.Exception - Problems building the Metadata