mirror of
https://gitee.com/mybatis-flex/mybatis-flex.git
synced 2025-12-08 01:28:24 +08:00
test: 测试生成 @Column 注解。
This commit is contained in:
parent
0c1b59e662
commit
590cb3ce15
@ -283,7 +283,7 @@ public class GeneratorTest {
|
||||
HikariDataSource dataSource = new HikariDataSource();
|
||||
dataSource.setJdbcUrl("jdbc:mysql://127.0.0.1:3306/test?characterEncoding=utf-8");
|
||||
dataSource.setUsername("root");
|
||||
dataSource.setPassword("123456");
|
||||
dataSource.setPassword("12345678");
|
||||
|
||||
GlobalConfig globalConfig = new GlobalConfig();
|
||||
|
||||
@ -335,6 +335,7 @@ public class GeneratorTest {
|
||||
|
||||
// 配置生成 entity
|
||||
globalConfig.enableEntity()
|
||||
.setAlwaysGenColumnAnnotation(true)
|
||||
.setOverwriteEnable(true)
|
||||
.setWithLombok(true);
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user