Closed ncovercash closed 2 years ago
Managed to find the answer under the overarching embedded Spring package zonkyio/embedded-database-spring-test. If anyone else comes with the same question, you can use zonky.test.database.postgres.client.properties.key = value
within your Spring application properties.
I would love a way to add parameters to the JDBC url provided by this package (I'm currently using it through Maven to test Spring Boot).
In my main application, I use
jdbc:postgresql://.../database?stringtype=unspecified
(the extra parameter is due to some custom type/enum issues) -- without this parameter, my application cannot run, however, I have been unable to find a way to add some parameter to the JDBC url that this application creates/provides to Spring Boot.