Relative Content

Tag Archive for postgresqlspring-boothibernatespring-data-jpa

Spring Boot can’t connect to PostgreSQL

I have a Spring Boot project that works fine on Windows, but on Fedora with PostgreSQL running in a Podman container, I get Unable to determine Dialect without JDBC metadata (please set 'jakarta.persistence.jdbc.url' for common cases or 'hibernate.dialect' when a custom Dialect implementation must be provided). I have added that configuration, but continue to get the same message. My code can be found here. What am I missing?

Springboot Separation of Read Write and schemaBased Multitenancy

Currently I have Schema separated multitenant database. I am using Hibernate MultiTenantConnectionProvider. I would like to use the Abstract routing datasource along with the MultiTenantConnectionProvider to separate read and writes to different instances.