Spring Boot - How to set the default schema for PostgreSQL?

Since this is quite old and has no proper answer yet, the right property to set is the following:


You can try setting the default schema for the jdbc user.

1) ALTER USER user_name SET search_path to 'schema'

2) Did you try this property? spring.datasource.schema