starnowski/posjsonhelper

Add integration tests with different schema (non public) and non default values for function names and hibernate operators

Closed this issue · 2 comments

Add integration tests with different schema (non public) and non default values for function names and hibernate operators

Spring Boot connecting to different schema by jdbc URL

https://www.baeldung.com/jdbc-connect-to-schema

Use spring annotation for tests purpose:

org.springframework.test.context.ActiveProfiles
@SpringBootTest(properties = {"spring.datasource.username=xxxx","spring.datasource.password=xxxx"})