Skip to content

Commit 462d890

Browse files
committed
Merge branch 'master' into pr/3108
# Conflicts: # src/site/markdown/configuration.md
2 parents 9ade243 + 3e54e62 commit 462d890

File tree

19 files changed

+115
-77
lines changed

19 files changed

+115
-77
lines changed

.github/workflows/site.yaml

+1-1
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ on:
77

88
jobs:
99
build:
10-
if: github.repository_owner == 'mybatis' && ! contains(toJSON(github.event.head_commit.message), '[maven-release-plugin]')
10+
if: github.repository_owner == 'mybatis' && contains(toJSON(github.event.head_commit.message), '[maven-release-plugin] prepare release')
1111
runs-on: ubuntu-latest
1212
steps:
1313
- uses: actions/checkout@v4

pom.xml

+11-11
Original file line numberDiff line numberDiff line change
@@ -22,13 +22,13 @@
2222
<parent>
2323
<groupId>org.mybatis</groupId>
2424
<artifactId>mybatis-parent</artifactId>
25-
<version>45</version>
25+
<version>46</version>
2626
<relativePath />
2727
</parent>
2828

2929
<groupId>org.mybatis</groupId>
3030
<artifactId>mybatis</artifactId>
31-
<version>3.5.17-SNAPSHOT</version>
31+
<version>3.5.18-SNAPSHOT</version>
3232

3333
<name>mybatis</name>
3434
<description>The MyBatis SQL mapper framework makes it easier to use a relational database with object-oriented
@@ -135,12 +135,12 @@
135135
<properties>
136136
<clirr.comparisonVersion>3.4.6</clirr.comparisonVersion>
137137

138-
<byte-buddy.version>1.15.10</byte-buddy.version>
138+
<byte-buddy.version>1.15.11</byte-buddy.version>
139139
<derby.version>10.17.1.0</derby.version>
140-
<log4j.version>2.24.1</log4j.version>
140+
<log4j.version>2.24.3</log4j.version>
141141
<mockito.version>5.14.2</mockito.version>
142142
<mssql-jdbc.version>12.8.1.jre11</mssql-jdbc.version>
143-
<testcontainers.version>1.20.3</testcontainers.version>
143+
<testcontainers.version>1.20.4</testcontainers.version>
144144

145145
<!-- Add slow test groups here and annotate classes similar to @Tag('groupName'). -->
146146
<!-- Excluded groups are ran on github ci, to force here, pass -d"excludedGroups=" -->
@@ -161,7 +161,7 @@
161161
<argLine>-Xmx2048m -javaagent:${settings.localRepository}/net/bytebuddy/byte-buddy-agent/${byte-buddy.version}/byte-buddy-agent-${byte-buddy.version}.jar</argLine>
162162

163163
<!-- Reproducible Builds -->
164-
<project.build.outputTimestamp>1712079482</project.build.outputTimestamp>
164+
<project.build.outputTimestamp>1732629483</project.build.outputTimestamp>
165165
</properties>
166166

167167
<dependencies>
@@ -190,13 +190,13 @@
190190
<dependency>
191191
<groupId>org.junit.jupiter</groupId>
192192
<artifactId>junit-jupiter-engine</artifactId>
193-
<version>5.11.3</version>
193+
<version>5.11.4</version>
194194
<scope>test</scope>
195195
</dependency>
196196
<dependency>
197197
<groupId>org.junit.jupiter</groupId>
198198
<artifactId>junit-jupiter-params</artifactId>
199-
<version>5.11.3</version>
199+
<version>5.11.4</version>
200200
<scope>test</scope>
201201
</dependency>
202202
<dependency>
@@ -269,7 +269,7 @@
269269
<dependency>
270270
<groupId>org.assertj</groupId>
271271
<artifactId>assertj-core</artifactId>
272-
<version>3.26.3</version>
272+
<version>3.27.0</version>
273273
<scope>test</scope>
274274
</dependency>
275275
<dependency>
@@ -320,7 +320,7 @@
320320
<dependency>
321321
<groupId>ch.qos.reload4j</groupId>
322322
<artifactId>reload4j</artifactId>
323-
<version>1.2.25</version>
323+
<version>1.2.26</version>
324324
<optional>true</optional>
325325
</dependency>
326326
<dependency>
@@ -346,7 +346,7 @@
346346
<dependency>
347347
<groupId>ch.qos.logback</groupId>
348348
<artifactId>logback-classic</artifactId>
349-
<version>1.5.12</version>
349+
<version>1.5.15</version>
350350
<scope>test</scope>
351351
</dependency>
352352
<dependency>

src/main/java/org/apache/ibatis/annotations/Select.java

+1-1
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,7 @@
4444
* public interface UserMapper {
4545
* @Select({ "<script>", "select * from users", "where name = #{name}",
4646
* "<if test=\"age != null\"> age = #{age} </if>", "</script>" })
47-
* User select(@NotNull String name, @Nullable Intger age);
47+
* User select(@NotNull String name, @Nullable Integer age);
4848
* }
4949
* }</pre>
5050
*

src/main/java/org/apache/ibatis/builder/annotation/package-info.java

+2-2
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/*
2-
* Copyright 2009-2022 the original author or authors.
2+
* Copyright 2009-2024 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.
@@ -14,6 +14,6 @@
1414
* limitations under the License.
1515
*/
1616
/**
17-
* Parses annotions to create a Configuration.
17+
* Parses annotations to create a Configuration.
1818
*/
1919
package org.apache.ibatis.builder.annotation;

src/main/java/org/apache/ibatis/logging/jdbc/BaseJdbcLogger.java

+2-2
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/*
2-
* Copyright 2009-2023 the original author or authors.
2+
* Copyright 2009-2024 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.
@@ -102,7 +102,7 @@ protected String objectValueString(Object value) {
102102
try {
103103
return ArrayUtil.toString(((Array) value).getArray());
104104
} catch (SQLException e) {
105-
// Intentialy fall through to return value.toString()
105+
// Intentionally fall through to return value.toString()
106106
}
107107
}
108108
return value.toString();

src/site/es/xdoc/configuration.xml

+1-1
Original file line numberDiff line numberDiff line change
@@ -451,7 +451,7 @@ SqlSessionFactory factory = new SqlSessionFactoryBuilder().build(reader, environ
451451
<td>
452452
MyBatis, by default, returns <code>null</code> when all the columns of a returned row are NULL.
453453
When this setting is enabled, MyBatis returns an empty instance instead.
454-
Note that it is also applied to nested results (i.e. collectioin and association). Since: 3.4.2
454+
Note that it is also applied to nested results (i.e. collection and association). Since: 3.4.2
455455
</td>
456456
<td>
457457
true | false

src/site/ja/markdown/getting-started.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -64,7 +64,7 @@ mappers 要素には Mapper のリストが含まれています。Mapper とは
6464

6565
## XML を使わずに SqlSessionFactory を生成する
6666

67-
XML を使わず Java のコードで設定を行いたい方のために、Configuraiton クラスが提供されています。<br />
67+
XML を使わず Java のコードで設定を行いたい方のために、Configuration クラスが提供されています。<br />
6868
XML 形式の設定ファイルで指定できるオプションは、このクラスでも全て設定可能です。
6969

7070
```java

src/site/ja/xdoc/configuration.xml

+3-3
Original file line numberDiff line numberDiff line change
@@ -1505,7 +1505,7 @@ public class StringTypeHandler extends BaseTypeHandler<String> {
15051505
</p>
15061506

15071507
<p>
1508-
MyBatis は、このタイプハンドラーの総称型(Genric Type)から適用対象の Java タイプを自動判定しますが、この動作をオーバーライドする方法が2つあります。
1508+
MyBatis は、このタイプハンドラーの総称型(Generic Type)から適用対象の Java タイプを自動判定しますが、この動作をオーバーライドする方法が2つあります。
15091509
</p>
15101510
<ul>
15111511
<li>typeHandler 要素に javaType 属性を追加する(例:javaType="String")
@@ -1775,8 +1775,8 @@ public class ExamplePlugin implements Interceptor {
17751775
</li>
17761776
</ul>
17771777
<p>
1778-
SqlSessionFactoryBuilder に envrionment を渡すことで、どの環境に対する SqlSessionFactory をビルドするか指定することができます。
1779-
envrionment を引数に取るシグネチャは下記の2つです。
1778+
SqlSessionFactoryBuilder に environment を渡すことで、どの環境に対する SqlSessionFactory をビルドするか指定することができます。
1779+
environment を引数に取るシグネチャは下記の2つです。
17801780
</p>
17811781

17821782
<source><![CDATA[SqlSessionFactory factory = new SqlSessionFactoryBuilder().build(reader, environment);

0 commit comments

Comments
 (0)