Skip to content

Commit 125cce9

Browse files
author
Weasley
committed
Optimize dtt-mybatis caching
1 parent 44d66b9 commit 125cce9

File tree

16 files changed

+29
-274
lines changed

16 files changed

+29
-274
lines changed

README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -251,7 +251,7 @@ Domain Driven Table [![Maven Central](https://img.shields.io/maven-central/v/io.
251251
<dependency>
252252
<groupId>io.github.weasley-j</groupId>
253253
<artifactId>mydtt-plus-spring-boot-starter</artifactId>
254-
<version>1.3.1</version>
254+
<version>1.3.2</version>
255255
</dependency>
256256
<!-- javadoc-scribe start -->
257257
<dependency>
@@ -293,7 +293,7 @@ mvn clean install -pl :mydtt-plus-spring-boot-starter -am
293293
<dependency>
294294
<groupId>io.github.weasley-j</groupId>
295295
<artifactId>mydtt-plus-spring-boot-starter</artifactId>
296-
<version>1.3.1</version>
296+
<version>1.3.2</version>
297297
</dependency>
298298
<!-- javadoc-scribe start -->
299299
<dependency>

embedded-db/h2.mv.db

-36 KB
Binary file not shown.

mydtt-plus-spring-boot-starter-tests/mydtt-plus-spring-boot-2-x/pom.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@
2525
<dependency>
2626
<groupId>io.github.weasley-j</groupId>
2727
<artifactId>mydtt-plus-spring-boot-starter</artifactId>
28-
<version>1.3.1</version>
28+
<version>1.3.2</version>
2929
</dependency>
3030
<!-- javadoc-scribe start -->
3131
<dependency>

mydtt-plus-spring-boot-starter-tests/mydtt-plus-spring-boot-2-x/src/main/java/com/example/MydttPlus2xTestApp.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -14,8 +14,8 @@
1414
scanBasePackages = {
1515
//"com.example.i18n.korean",
1616
//"com.example.domain.dtt",
17-
//"com.example.domain.oms", "com.example.domain.order", "com.example.domain.payment",
18-
//"com.example.domain.promotion", "com.example.domain.shop", "com.example.domain.user",
17+
"com.example.domain.oms", "com.example.domain.order", "com.example.domain.payment",
18+
"com.example.domain.promotion", "com.example.domain.shop", "com.example.domain.user",
1919
},
2020
parserType = ParserType.JAVA_DOC,
2121
dropTableBeforeCreate = false,

mydtt-plus-spring-boot-starter-tests/mydtt-plus-spring-boot-2-x/src/main/java/com/example/domain/dtt/OmsB2bOrder.java

Lines changed: 0 additions & 239 deletions
This file was deleted.

mydtt-plus-spring-boot-starter-tests/mydtt-plus-spring-boot-2-x/src/main/resources/application-db2.yml

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ spring:
1313

1414
mybatis-plus:
1515
mapper-locations: classpath:mapper/**/*Mapper.xml,mapper/**/*Dao.xml
16-
type-aliases-package: com.example.domain.dtt
16+
type-aliases-package: com.example.domain.dtt,com.example.domain.order
1717
global-config:
1818
db-config:
1919
id-type: auto
@@ -23,7 +23,6 @@ mybatis-plus:
2323

2424
alphahub:
2525
dtt:
26-
is-enable: on
2726
show-sql: on
2827
all-in-one-table:
2928
enable: true

mydtt-plus-spring-boot-starter-tests/mydtt-plus-spring-boot-2-x/src/main/resources/application-h2.yml

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,6 @@ mybatis-plus:
3232

3333
alphahub:
3434
dtt:
35-
is-enable: off
3635
show-sql: on
3736
all-in-one-table:
3837
enable: true

mydtt-plus-spring-boot-starter-tests/mydtt-plus-spring-boot-2-x/src/main/resources/application-mariadb.yml

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,6 @@ mybatis-plus:
2323

2424
alphahub:
2525
dtt:
26-
is-enable: on
2726
show-sql: on
2827
all-in-one-table:
2928
enable: true

mydtt-plus-spring-boot-starter-tests/mydtt-plus-spring-boot-2-x/src/main/resources/application-mysql.yml

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,6 @@ mybatis-plus:
2222

2323
alphahub:
2424
dtt:
25-
is-enable: on
2625
banner-mode: ON
2726
show-sql: off
2827
mybatis-orm-support:

mydtt-plus-spring-boot-starter-tests/mydtt-plus-spring-boot-2-x/src/main/resources/application-oracle.yml

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,6 @@ mybatis-plus:
2424

2525
alphahub:
2626
dtt:
27-
is-enable: on
2827
show-sql: on
2928
all-in-one-table:
3029
enable: true

mydtt-plus-spring-boot-starter-tests/mydtt-plus-spring-boot-2-x/src/main/resources/application-postgresql.yml

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,6 @@ mybatis:
2323

2424
alphahub:
2525
dtt:
26-
is-enable: on
2726
show-sql: on
2827
all-in-one-table:
2928
enable: true

mydtt-plus-spring-boot-starter-tests/mydtt-plus-spring-boot-2-x/src/main/resources/application-sqlserver.yml

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,6 @@ mybatis:
2323

2424
alphahub:
2525
dtt:
26-
is-enable: on
2726
show-sql: on
2827
all-in-one-table:
2928
enable: true

mydtt-plus-spring-boot-starter-tests/mydtt-plus-spring-boot-2-x/src/main/resources/application.yml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,3 +7,7 @@ spring:
77

88
profiles:
99
active: H2
10+
11+
alphahub:
12+
dtt:
13+
is-enable: off

mydtt-plus-spring-boot-starter-tests/mydtt-plus-spring-boot-3-x/pom.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,7 @@
4040
<dependency>
4141
<groupId>io.github.weasley-j</groupId>
4242
<artifactId>mydtt-plus-spring-boot-starter</artifactId>
43-
<version>1.3.1</version>
43+
<version>1.3.2</version>
4444
</dependency>
4545
<!-- javadoc-scribe start -->
4646
<dependency>

mydtt-plus-spring-boot-starter/pom.xml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@
1111

1212
<groupId>io.github.weasley-j</groupId>
1313
<artifactId>mydtt-plus-spring-boot-starter</artifactId>
14-
<version>1.3.1</version>
14+
<version>1.3.2</version>
1515
<name>mydtt-plus-spring-boot-starter</name>
1616
<description>
1717
MyDtt-Plus is a starter of SpringBoot,I named it DTT, It's an object-oriented Java framework,
@@ -20,8 +20,8 @@
2020
and optionally export SQL to local file,Each table can be added database name concat with table name.
2121
It can work with ORM frameworks such as MyBatis-Plus and MyBatis with little learning and usage costs.
2222
It's worth mentioning that DTT can be MyBatis-Plus is integrated in a 0-code way, just like JPA.
23-
However, MyDtt-Plus + MyBatis-Plus may be easier to expand and use than JPA. In addition to supporting the
24-
functions of JPA, DDT provides multi-table associated SQL DDL based on MyBatis Operation,
23+
However, MyDtt-Plus and MyBatis-Plus may be easier to expand and use than JPA. In addition to supporting the
24+
functions of JPA, DDT provides multi-table associated SQL DDL based on MyBatis operation,
2525
Support databases for MYSQL, ORACLE, DB2, SQLSERVER, MARIADB, POSTGRESQL, H2.
2626
</description>
2727
<url>https://github.com/Weasley-J/mydtt-plus-spring-boot-starter</url>

0 commit comments

Comments
 (0)