#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) //
|
||||
|
||||
Reference in New Issue
Block a user