类 SchemaValidator


  • public class SchemaValidator
    extends Object
    A commandline tool to update a database schema. May also be called from inside an application.
    作者:
    Christoph Sturm
    • 构造器详细资料

      • SchemaValidator

        public SchemaValidator()
    • 方法详细资料

      • validate

        public void validate​(Metadata metadata)
      • main

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

        public static MetadataImplementor buildMetadataFromMainArgs​(String[] args)
                                                             throws 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
        抛出:
        Exception - Problems building the Metadata