Skip to content

Commit 9bff2d2

Browse files
committed
Merge branch 'master' into reusable-where-clauses-v2
2 parents 7d3b7a9 + 7cbc7c2 commit 9bff2d2

File tree

524 files changed

+1107
-663
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

524 files changed

+1107
-663
lines changed

.github/workflows/ci.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ jobs:
2424
strategy:
2525
matrix:
2626
os: [ubuntu-latest]
27-
java: [11, 17, 18, 19-ea]
27+
java: [11, 17, 19, 20-ea]
2828
distribution: ['zulu']
2929
fail-fast: false
3030
max-parallel: 5

.mvn/extensions.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
<?xml version="1.0" encoding="UTF-8"?>
22
<!--
33
4-
Copyright 2016-2022 the original author or authors.
4+
Copyright 2016-2023 the original author or authors.
55
66
Licensed under the Apache License, Version 2.0 (the "License");
77
you may not use this file except in compliance with the License.

.mvn/settings.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
<?xml version="1.0" encoding="UTF-8"?>
22
<!--
33
4-
Copyright 2016-2022 the original author or authors.
4+
Copyright 2016-2023 the original author or authors.
55
66
Licensed under the Apache License, Version 2.0 (the "License");
77
you may not use this file except in compliance with the License.

CHANGELOG.md

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -43,6 +43,14 @@ The pull request for this change is ([#550](https://github.com/mybatis/mybatis-d
4343
please test to make sure it is supported in your database. ([#544](https://github.com/mybatis/mybatis-dynamic-sql/pull/544))
4444
2. Deprecated Kotlin DSL functions have been removed, as well as deprecated support for "EmptyListCallback" in the "in"
4545
conditions. ([#548](https://github.com/mybatis/mybatis-dynamic-sql/pull/548))
46+
3. Refactored the common insert mapper support for MyBatis3 by adding a CommonGeneralInsertMapper that can be used
47+
without a class that matches the table row. It includes methods for general insert and insert select.
48+
([#570](https://github.com/mybatis/mybatis-dynamic-sql/pull/570))
49+
4. Added the ability to change a table name on AliasableSqlTable - this creates a new instance of the object with a new
50+
name. This is useful in sharded databases where the name of the table is calculated based on some sharding
51+
algorithm. Also deprecated the constructors on SqlTable that accept Suppliers for table name - this creates an
52+
effectively mutable object and goes against the principles of immutability that we strive for in the library.
53+
([#572](https://github.com/mybatis/mybatis-dynamic-sql/pull/572))
4654

4755

4856

checkstyle-override.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
<?xml version="1.0"?>
22
<!--
33
4-
Copyright 2016-2022 the original author or authors.
4+
Copyright 2016-2023 the original author or authors.
55
66
Licensed under the Apache License, Version 2.0 (the "License");
77
you may not use this file except in compliance with the License.

pom.xml

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
<!--
22
3-
Copyright 2016-2022 the original author or authors.
3+
Copyright 2016-2023 the original author or authors.
44
55
Licensed under the Apache License, Version 2.0 (the "License");
66
you may not use this file except in compliance with the License.
@@ -20,7 +20,7 @@
2020
<parent>
2121
<groupId>org.mybatis</groupId>
2222
<artifactId>mybatis-parent</artifactId>
23-
<version>36</version>
23+
<version>37</version>
2424
</parent>
2525
<groupId>org.mybatis.dynamic-sql</groupId>
2626
<artifactId>mybatis-dynamic-sql</artifactId>
@@ -61,7 +61,7 @@
6161

6262
<module.name>org.mybatis.dynamic.sql</module.name>
6363

64-
<kotlin.version>1.7.21</kotlin.version>
64+
<kotlin.version>1.8.0</kotlin.version>
6565
<kotlin.compiler.jvmTarget>1.8</kotlin.compiler.jvmTarget>
6666

6767
<sonar.sources>pom.xml,src/main/java,src/main/kotlin</sonar.sources>
@@ -251,13 +251,13 @@
251251
<dependency>
252252
<groupId>org.assertj</groupId>
253253
<artifactId>assertj-core</artifactId>
254-
<version>3.23.1</version>
254+
<version>3.24.0</version>
255255
<scope>test</scope>
256256
</dependency>
257257
<dependency>
258258
<groupId>org.mybatis</groupId>
259259
<artifactId>mybatis-spring</artifactId>
260-
<version>2.0.7</version>
260+
<version>2.1.0</version>
261261
<scope>test</scope>
262262
</dependency>
263263
<dependency>
@@ -287,7 +287,7 @@
287287
<dependency>
288288
<groupId>ch.qos.logback</groupId>
289289
<artifactId>logback-classic</artifactId>
290-
<version>1.4.4</version>
290+
<version>1.4.5</version>
291291
<scope>test</scope>
292292
</dependency>
293293
<!-- Hamcrest is only here to make Infinitest happy. Not really used in the project. -->
@@ -313,7 +313,7 @@
313313
<dependency>
314314
<groupId>org.postgresql</groupId>
315315
<artifactId>postgresql</artifactId>
316-
<version>42.5.0</version>
316+
<version>42.5.1</version>
317317
<scope>test</scope>
318318
</dependency>
319319
<dependency>

src/main/java/org/mybatis/dynamic/sql/AbstractColumnComparisonCondition.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/*
2-
* Copyright 2016-2022 the original author or authors.
2+
* Copyright 2016-2023 the original author or authors.
33
*
44
* Licensed under the Apache License, Version 2.0 (the "License");
55
* you may not use this file except in compliance with the License.

src/main/java/org/mybatis/dynamic/sql/AbstractListValueCondition.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/*
2-
* Copyright 2016-2022 the original author or authors.
2+
* Copyright 2016-2023 the original author or authors.
33
*
44
* Licensed under the Apache License, Version 2.0 (the "License");
55
* you may not use this file except in compliance with the License.

src/main/java/org/mybatis/dynamic/sql/AbstractNoValueCondition.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/*
2-
* Copyright 2016-2022 the original author or authors.
2+
* Copyright 2016-2023 the original author or authors.
33
*
44
* Licensed under the Apache License, Version 2.0 (the "License");
55
* you may not use this file except in compliance with the License.

src/main/java/org/mybatis/dynamic/sql/AbstractSingleValueCondition.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/*
2-
* Copyright 2016-2022 the original author or authors.
2+
* Copyright 2016-2023 the original author or authors.
33
*
44
* Licensed under the Apache License, Version 2.0 (the "License");
55
* you may not use this file except in compliance with the License.

0 commit comments

Comments
 (0)