mirror of
https://gitee.com/mybatis-flex/mybatis-flex.git
synced 2025-12-07 00:58:24 +08:00
update additional-spring-configuration-metadata.json
This commit is contained in:
parent
a6baca92a2
commit
c24e9222a3
@ -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"
|
||||
}
|
||||
]
|
||||
}
|
||||
|
||||
@ -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
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user