Skip to content

Conversation

wilkinsona
Copy link
Contributor

What does this PR do?

The metadata for flyway-database-postgresql did not allow org.flywaydb.database.postgresql.TransactionalModel to be serialized to JSON. This resulted in a failure if the setTransactionalLock method on PostgreSQLConfigurationExtension was called in a native image.

This PR adds the necessary metadata and updates the existing test to cover this code path.

Code sections where the PR accesses files, network, docker or some external service

No additional access.

Checklist before merging

The metadata for flyway-database-postgresql did not allow
org.flywaydb.database.postgresql.TransactionalModel to be serialized
to JSON. This resulted in a failure if the setTransactionalLock
method on PostgreSQLConfigurationExtension was called in a native
image.

This commit adds the necessary metadata and updates the existing
test to cover this code path.
@dnestoro dnestoro merged commit 1bcc35a into oracle:master Jul 16, 2025
10 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants