Package io.jmix.data

Annotation Interface DdlGeneration


@Target(TYPE) @Retention(CLASS) public @interface DdlGeneration
Settings used by development tools to generate DDL scripts for this entity.
  • Element Details

    • value

      Script generation mode to create and update database schema.
      Default:
      CREATE_AND_DROP
    • unmappedColumns

      String[] unmappedColumns
      Columns that exist in the database but should not be mapped to the entity. Drop scripts for this columns will not be generated.
      Default:
      {}
    • unmappedConstraints

      String[] unmappedConstraints
      Constraints and indexes that exist in the database but should not be mapped to the entity. Drop scripts for this columns will not be generated.
      Default:
      {}