Class DdlGenerator

  • All Implemented Interfaces:
    io.ebeaninternal.api.SpiDdlGenerator

    public class DdlGenerator
    extends Object
    implements io.ebeaninternal.api.SpiDdlGenerator
    Controls the generation and execution of "Create All" and "Drop All" DDL scripts.

    Typically the "Create All" DDL is executed for running tests etc and has nothing to do with DB Migration (diff based) DDL.

    • Constructor Detail

      • DdlGenerator

        public DdlGenerator​(io.ebeaninternal.api.SpiEbeanServer server)
    • Method Detail

      • execute

        public void execute​(boolean online)
        Specified by:
        execute in interface io.ebeaninternal.api.SpiDdlGenerator