Skip to content

Conversation

jan-knoblich
Copy link

@jan-knoblich jan-knoblich commented Oct 19, 2025

This PR adds a new method getR2dbcUrl() to JdbcDatabaseContainer and its PostgreSQL implementation. It allows developers to easily obtain an R2DBC-compliant connection URL, improving compatibility with R2DBC-based applications.
Changes

  • Added getR2dbcUrl() to JdbcDatabaseContainer.
  • Overridden the method in PostgreSQLContainerProvider.
  • Added getR2dbcDriverName() for PostgreSQL.
  • Wrote a test in PostgreSQLR2DBCDatabaseContainerTest to verify the R2DBC URL.

I believe this should fix ##8797

Is that what you had in mind @eddumelendez with this comment ?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants