#514 - Switch to latest Spring Data R2DBC snapshots.
This is to accommodate API refactorings in Spring Framework's transaction API.
This commit is contained in:
@@ -49,8 +49,7 @@ public class CustomerRepositoryIntegrationTests {
|
||||
"DROP TABLE IF EXISTS customer;",
|
||||
"CREATE TABLE customer ( id SERIAL PRIMARY KEY, firstname VARCHAR(100) NOT NULL, lastname VARCHAR(100) NOT NULL);");
|
||||
|
||||
statements.forEach(it -> database.execute() //
|
||||
.sql(it) //
|
||||
statements.forEach(it -> database.execute(it) //
|
||||
.fetch() //
|
||||
.rowsUpdated() //
|
||||
.as(StepVerifier::create) //
|
||||
|
||||
@@ -52,8 +52,7 @@ public class TransactionalServiceIntegrationTests {
|
||||
"DROP TABLE IF EXISTS customer;",
|
||||
"CREATE TABLE customer ( id SERIAL PRIMARY KEY, firstname VARCHAR(100) NOT NULL, lastname VARCHAR(100) NOT NULL);");
|
||||
|
||||
statements.forEach(it -> database.execute() //
|
||||
.sql(it) //
|
||||
statements.forEach(it -> database.execute(it) //
|
||||
.fetch() //
|
||||
.rowsUpdated() //
|
||||
.as(StepVerifier::create) //
|
||||
|
||||
@@ -21,7 +21,7 @@
|
||||
</modules>
|
||||
|
||||
<properties>
|
||||
<spring.version>5.2.0.M2</spring.version>
|
||||
<spring-boot-data-r2dbc.version>0.1.0.BUILD-SNAPSHOT</spring-boot-data-r2dbc.version>
|
||||
</properties>
|
||||
|
||||
<dependencies>
|
||||
@@ -29,13 +29,13 @@
|
||||
<dependency>
|
||||
<groupId>org.springframework.boot.experimental</groupId>
|
||||
<artifactId>spring-boot-starter-data-r2dbc</artifactId>
|
||||
<version>0.1.0.M1</version>
|
||||
<version>${spring-boot-data-r2dbc.version}</version>
|
||||
</dependency>
|
||||
|
||||
<dependency>
|
||||
<groupId>org.springframework.boot.experimental</groupId>
|
||||
<artifactId>spring-boot-starter-r2dbc-h2</artifactId>
|
||||
<version>0.1.0.M1</version>
|
||||
<version>${spring-boot-data-r2dbc.version}</version>
|
||||
</dependency>
|
||||
|
||||
<dependency>
|
||||
|
||||
Reference in New Issue
Block a user