Skip to content

Commit abf7840

Browse files
committed
Merge branch 'master' into schema-provider
2 parents 0eff418 + ff61ced commit abf7840

File tree

4 files changed

+24
-7
lines changed

4 files changed

+24
-7
lines changed

CHANGELOG.md

Lines changed: 11 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,16 @@
22

33
This log will detail notable changes to MyBatis Dynamic SQL. Full details are available on the GitHub milestone pages.
44

5-
## Release 1.1.1
5+
## Release 1.1.2 - Unreleased
6+
7+
GitHub milestone: [https://github.com/mybatis/mybatis-dynamic-sql/issues?q=milestone%3A1.1.2+](https://github.com/mybatis/mybatis-dynamic-sql/issues?q=milestone%3A1.1.2+)
8+
9+
### Added
10+
11+
- Changed the public SQLBuilder API to accept Collection instead of List for in conditions and batch record inserts. This should have no impact on existing code, but allow for some future flexibility
12+
13+
14+
## Release 1.1.1 - April 7, 2019
615

716
GitHub milestone: [https://github.com/mybatis/mybatis-dynamic-sql/issues?q=milestone%3A1.1.1+](https://github.com/mybatis/mybatis-dynamic-sql/issues?q=milestone%3A1.1.1+)
817

@@ -19,7 +28,7 @@ GitHub milestone: [https://github.com/mybatis/mybatis-dynamic-sql/issues?q=miles
1928
- Fixed self joins
2029

2130

22-
## Release 1.1.0
31+
## Release 1.1.0 - April 24, 2018
2332

2433
GitHub milestone: [https://github.com/mybatis/mybatis-dynamic-sql/issues?q=milestone%3A1.1.0+](https://github.com/mybatis/mybatis-dynamic-sql/issues?q=milestone%3A1.1.0+)
2534

pom.xml

Lines changed: 10 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -40,8 +40,8 @@
4040
<java.version>1.8</java.version>
4141
<maven.compiler.source>${java.version}</maven.compiler.source>
4242
<maven.compiler.target>${java.version}</maven.compiler.target>
43-
<junit.jupiter.version>5.4.1</junit.jupiter.version>
44-
<junit.platform.version>1.4.1</junit.platform.version>
43+
<junit.jupiter.version>5.4.2</junit.jupiter.version>
44+
<junit.platform.version>1.4.2</junit.platform.version>
4545
<spring.batch.version>4.1.2.RELEASE</spring.batch.version>
4646
<clirr.comparisonVersion>1.1.0</clirr.comparisonVersion>
4747
<module.name>org.mybatis.dynamic.sql</module.name>
@@ -144,7 +144,7 @@
144144
<dependency>
145145
<groupId>org.springframework</groupId>
146146
<artifactId>spring-jdbc</artifactId>
147-
<version>5.1.6.RELEASE</version>
147+
<version>5.1.7.RELEASE</version>
148148
<scope>test</scope>
149149
</dependency>
150150
<dependency>
@@ -171,6 +171,13 @@
171171
<version>1.2.3</version>
172172
<scope>test</scope>
173173
</dependency>
174+
<!-- Hamcrest is only here to make Infinitest happy. Not really used in the project. -->
175+
<dependency>
176+
<groupId>org.hamcrest</groupId>
177+
<artifactId>hamcrest</artifactId>
178+
<version>2.1</version>
179+
<scope>test</scope>
180+
</dependency>
174181
</dependencies>
175182

176183
<scm>

src/test/java/examples/springbatch/cursor/CursorReaderBatchConfiguration.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -82,7 +82,7 @@ public SqlSessionFactory sqlSessionFactory(DataSource dataSource) throws Excepti
8282
}
8383

8484
@Bean
85-
public PlatformTransactionManager dtm(DataSource dataSource) {
85+
public PlatformTransactionManager transactionManager(DataSource dataSource) {
8686
return new DataSourceTransactionManager(dataSource);
8787
}
8888

src/test/java/examples/springbatch/paging/PagingReaderBatchConfiguration.java

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -45,6 +45,7 @@
4545
import org.springframework.jdbc.datasource.DataSourceTransactionManager;
4646
import org.springframework.jdbc.datasource.embedded.EmbeddedDatabaseBuilder;
4747
import org.springframework.jdbc.datasource.embedded.EmbeddedDatabaseType;
48+
import org.springframework.transaction.PlatformTransactionManager;
4849

4950
import examples.springbatch.common.Person;
5051
import examples.springbatch.mapper.PersonMapper;
@@ -80,7 +81,7 @@ public SqlSessionFactory sqlSessionFactory(DataSource dataSource) throws Excepti
8081
}
8182

8283
@Bean
83-
public DataSourceTransactionManager dtm(DataSource dataSource) {
84+
public PlatformTransactionManager transactionManager(DataSource dataSource) {
8485
return new DataSourceTransactionManager(dataSource);
8586
}
8687

0 commit comments

Comments
 (0)