Class DdlGenerator

java.lang.Object
io.ebeaninternal.dbmigration.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 Details

    • DdlGenerator

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

    • execute

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