Skip to content

Commit

Permalink
Fix R2DBC
Browse files Browse the repository at this point in the history
  • Loading branch information
nk2IsHere committed Aug 21, 2023
1 parent f805d9c commit 5e8af73
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -34,9 +34,7 @@ public void initialize(GenericApplicationContext context) {
new ConnectionFactoryOptionsInitializer()
.initialize(
properties,
context
.getBeanProvider(R2dbcConnectionDetails.class)
.getIfAvailable(),
new R2dbcAutoConfiguration.PropertiesR2dbcConnectionDetails(properties),
() -> EmbeddedDatabaseConnection.get(context.getClassLoader())
)
)
Expand Down
2 changes: 1 addition & 1 deletion kofu-r2dbc/build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -24,5 +24,5 @@ dependencies {
testImplementation("org.springframework.boot:spring-boot-starter-data-r2dbc")
testImplementation("org.springframework:spring-r2dbc")
testRuntimeOnly("io.r2dbc:r2dbc-h2")
testRuntimeOnly("io.r2dbc:r2dbc-postgresql:0.8.4.RELEASE")
testRuntimeOnly("org.postgresql:r2dbc-postgresql")
}

0 comments on commit 5e8af73

Please sign in to comment.