Class CurrentModel

java.lang.Object
io.ebeaninternal.dbmigration.model.CurrentModel

public class CurrentModel extends Object
Reads EbeanServer bean descriptors to build the current model.
  • Constructor Details

    • CurrentModel

      public CurrentModel(io.ebeaninternal.api.SpiEbeanServer server)
      Construct with a given EbeanServer instance for DDL create all generation, not migration.
    • CurrentModel

      public CurrentModel(io.ebeaninternal.api.SpiEbeanServer server, io.ebean.config.DbConstraintNaming constraintNaming)
      Construct with a given EbeanServer, platformDdl and constraintNaming convention.

      Note the EbeanServer is just used to read the BeanDescriptors and platformDdl supplies the platform specific handling on

  • Method Details