Class DbConstraintNaming

java.lang.Object
io.ebean.config.DbConstraintNaming

public class DbConstraintNaming extends Object
Naming convention used for constraint names.

Note that these constraint names are trimmed in the PlatformDdl which can be overridden but provides a decent default implementation.

  • Constructor Details

    • DbConstraintNaming

      Construct using default of lower case for both table and column names.
    • DbConstraintNaming

      public DbConstraintNaming(boolean lowerCase)
      Construct specifying if lower case should be used (for both table and column names).
    • DbConstraintNaming

      public DbConstraintNaming(boolean lowerCaseTableNames, boolean lowerCaseColumnNames)
      Construct specifying if lower case should be used for both table and column names.
  • Method Details