All Downloads are FREE. Search and download functionalities are using the official Maven repository.

c-starter-common.2.3.0.RELEASE.source-code.application-mybatis-plus-oracle.yml Maven / Gradle / Ivy

#mybatis
mybatis-plus:
  # mybatis xml配置文件扫描
  mapper-locations: classpath*:mapper/**/*.xml
  global-config:
    db-config:
      #主键类型  0:"数据库ID自增", 1:"用户输入ID",2:"全局唯一ID (数字类型唯一ID)", 3:"唯一ID";
      id-type: 3
      #驼峰下划线转换
      db-column-underline: true
      #刷新mapper 调试神器
      refresh-mapper: true
      #数据库大写下划线转换
      capital-mode: true
      #删除时的值
      logic-delete-value: 1
      #未删除的值
      logic-not-delete-value: 0
      # 不是null就添加到数据库中,否则不生成insert字段
      insert-strategy: not_null
      # 不是null就更新到数据库中,否则不生成set字段
      update-strategy: not_null
  configuration:
    map-underscore-to-camel-case: true
    cache-enabled: false
    call-setters-on-nulls: true
    jdbc-type-for-null: bigint




© 2015 - 2024 Weber Informatics LLC | Privacy Policy