update additional-spring-configuration-metadata.json

This commit is contained in:
开源海哥 2023-06-22 13:50:31 +08:00
parent a6baca92a2
commit c24e9222a3
2 changed files with 22 additions and 0 deletions

View File

@ -43,6 +43,22 @@
"name": "mybatis-flex.global-config.deleted-value-of-logic-delete",
"description": "逻辑删除已删除值标记",
"type": "java.lang.Object"
},
{
"name": "mybatis-flex.global-config.key-config.value",
"description": "使用的 ID 生成器名称 或者 Sequence 执行的 SQL 内容",
"type": "java.lang.String"
},
{
"defaultValue": true,
"name": "mybatis-flex.global-config.key-config.before",
"description": "是否在数据插入之前执行,只在非自增上配置有效",
"type": "java.lang.Boolean"
},
{
"name": "mybatis-flex.global-config.key-config.key-type",
"description": "ID 生成策略",
"type": "com.mybatisflex.annotation.KeyType"
}
]
}

View File

@ -8,6 +8,7 @@ spring:
url: jdbc:mysql://localhost:3306/flex_test
username: root
password: 12345678
driver-class-name:
# sql:
# init:
# schema-locations: classpath:schema.sql
@ -17,6 +18,11 @@ mybatis-flex:
- classpath*:/mapper/*.xml
global-config:
print-banner: false
key-config:
key-type: generator
value: uuid
configuration:
use-generated-keys: true
# datasource:
# data-center:
# url: jdbc:mysql://localhost:3306/flex_test