Commit 1bcc35a
authored
Fix flyway-database-postgresql's transactional lock setting (#648)
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.1 parent bf30f26 commit 1bcc35a
File tree
2 files changed
+12
-0
lines changed- metadata/org.flywaydb/flyway-database-postgresql/10.10.0
- tests/src/org.flywaydb/flyway-database-postgresql/10.10.0/src/test/java/flyway/database/postgresql
2 files changed
+12
-0
lines changedLines changed: 8 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
6 | 6 | | |
7 | 7 | | |
8 | 8 | | |
| 9 | + | |
| 10 | + | |
| 11 | + | |
| 12 | + | |
| 13 | + | |
| 14 | + | |
| 15 | + | |
| 16 | + | |
9 | 17 | | |
10 | 18 | | |
Lines changed: 4 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
17 | 17 | | |
18 | 18 | | |
19 | 19 | | |
| 20 | + | |
20 | 21 | | |
21 | 22 | | |
22 | 23 | | |
| |||
68 | 69 | | |
69 | 70 | | |
70 | 71 | | |
| 72 | + | |
| 73 | + | |
| 74 | + | |
71 | 75 | | |
72 | 76 | | |
73 | 77 | | |
| |||
0 commit comments