Class ExtraDdlXmlReader

java.lang.Object
io.ebeaninternal.extraddl.model.ExtraDdlXmlReader

public class ExtraDdlXmlReader extends Object
Read ExtraDdl from an XML document.
  • Constructor Details

    • ExtraDdlXmlReader

      public ExtraDdlXmlReader()
  • Method Details

    • buildExtra

      public static String buildExtra(io.ebean.annotation.Platform platform, boolean drops)
      Return the combined extra DDL that should be run given the platform name.
    • buildPartitioning

      public static String buildPartitioning(io.ebean.annotation.Platform platform)
      Return any extra DDL for supporting partitioning given the database platform.
    • readBuiltin

      public static ExtraDdl readBuiltin()
      Read the builtin extra ddl. (Stored procedures, tvp types etc)
    • readBuiltinTablePartitioning

      public static ExtraDdl readBuiltinTablePartitioning()
      Read the builtin extra ddl to support table partitioning.
    • read

      public static ExtraDdl read()
      Read the extra ddl.
    • read

      public static ExtraDdl read(InputStream is)
      Read and return a ExtraDdl from an xml document.