类 GlobalConfig.DbConfig

java.lang.Object
com.baomidou.mybatisplus.core.config.GlobalConfig.DbConfig
封闭类:
GlobalConfig

public static class GlobalConfig.DbConfig extends Object
  • 构造器详细资料

    • DbConfig

      public DbConfig()
  • 方法详细资料

    • getWhereStrategy

      public com.baomidou.mybatisplus.annotation.FieldStrategy getWhereStrategy()
      重写whereStrategy的get方法,适配低版本: - 如果用户自定义了selectStrategy则用用户自定义的, - 后续版本移除selectStrategy后,直接删除该方法即可。
      返回:
      字段作为查询条件时的验证策略
      从以下版本开始:
      3.4.4
    • getIdType

      public com.baomidou.mybatisplus.annotation.IdType getIdType()
    • getTablePrefix

      public String getTablePrefix()
    • getSchema

      public String getSchema()
    • getColumnFormat

      public String getColumnFormat()
    • getTableFormat

      public String getTableFormat()
    • getPropertyFormat

      public String getPropertyFormat()
    • isReplacePlaceholder

      public boolean isReplacePlaceholder()
    • getEscapeSymbol

      public String getEscapeSymbol()
    • isTableUnderline

      public boolean isTableUnderline()
    • isCapitalMode

      public boolean isCapitalMode()
    • getKeyGenerators

      public List<IKeyGenerator> getKeyGenerators()
    • getLogicDeleteField

      public String getLogicDeleteField()
    • getLogicDeleteValue

      public String getLogicDeleteValue()
    • getLogicNotDeleteValue

      public String getLogicNotDeleteValue()
    • getInsertStrategy

      public com.baomidou.mybatisplus.annotation.FieldStrategy getInsertStrategy()
    • getUpdateStrategy

      public com.baomidou.mybatisplus.annotation.FieldStrategy getUpdateStrategy()
    • getSelectStrategy

      @Deprecated public com.baomidou.mybatisplus.annotation.FieldStrategy getSelectStrategy()
      已过时。
    • setIdType

      public GlobalConfig.DbConfig setIdType(com.baomidou.mybatisplus.annotation.IdType idType)
      返回:
      this.
    • setTablePrefix

      public GlobalConfig.DbConfig setTablePrefix(String tablePrefix)
      返回:
      this.
    • setSchema

      public GlobalConfig.DbConfig setSchema(String schema)
      返回:
      this.
    • setColumnFormat

      public GlobalConfig.DbConfig setColumnFormat(String columnFormat)
      返回:
      this.
    • setTableFormat

      public GlobalConfig.DbConfig setTableFormat(String tableFormat)
      返回:
      this.
    • setPropertyFormat

      public GlobalConfig.DbConfig setPropertyFormat(String propertyFormat)
      返回:
      this.
    • setReplacePlaceholder

      public GlobalConfig.DbConfig setReplacePlaceholder(boolean replacePlaceholder)
      返回:
      this.
    • setEscapeSymbol

      public GlobalConfig.DbConfig setEscapeSymbol(String escapeSymbol)
      返回:
      this.
    • setTableUnderline

      public GlobalConfig.DbConfig setTableUnderline(boolean tableUnderline)
      返回:
      this.
    • setCapitalMode

      public GlobalConfig.DbConfig setCapitalMode(boolean capitalMode)
      返回:
      this.
    • setKeyGenerators

      public GlobalConfig.DbConfig setKeyGenerators(List<IKeyGenerator> keyGenerators)
      返回:
      this.
    • setLogicDeleteField

      public GlobalConfig.DbConfig setLogicDeleteField(String logicDeleteField)
      返回:
      this.
    • setLogicDeleteValue

      public GlobalConfig.DbConfig setLogicDeleteValue(String logicDeleteValue)
      返回:
      this.
    • setLogicNotDeleteValue

      public GlobalConfig.DbConfig setLogicNotDeleteValue(String logicNotDeleteValue)
      返回:
      this.
    • setInsertStrategy

      public GlobalConfig.DbConfig setInsertStrategy(com.baomidou.mybatisplus.annotation.FieldStrategy insertStrategy)
      返回:
      this.
    • setUpdateStrategy

      public GlobalConfig.DbConfig setUpdateStrategy(com.baomidou.mybatisplus.annotation.FieldStrategy updateStrategy)
      返回:
      this.
    • setSelectStrategy

      @Deprecated public GlobalConfig.DbConfig setSelectStrategy(com.baomidou.mybatisplus.annotation.FieldStrategy selectStrategy)
      已过时。
      返回:
      this.
    • setWhereStrategy

      public GlobalConfig.DbConfig setWhereStrategy(com.baomidou.mybatisplus.annotation.FieldStrategy whereStrategy)
      返回:
      this.
    • equals

      public boolean equals(Object o)
      覆盖:
      equals 在类中 Object
    • canEqual

      protected boolean canEqual(Object other)
    • hashCode

      public int hashCode()
      覆盖:
      hashCode 在类中 Object
    • toString

      public String toString()
      覆盖:
      toString 在类中 Object