4.0.0 org.springframework.boot spring-boot-starter-parent 4.1.2 com.ankurm multitenancy 1.0.0 multitenancy Hibernate 7 multi-tenancy on Spring Boot 4: @TenantId (discriminator) vs schema-per-tenant (shared pool with search_path, and pool per tenant), tenant taken from a JWT claim 25 7.4.14.Final org.springframework.boot spring-boot-starter-data-jpa org.springframework.boot spring-boot-starter-webmvc org.springframework.security spring-security-oauth2-jose org.postgresql postgresql org.springframework.boot spring-boot-starter-test test org.testcontainers testcontainers-postgresql test org.testcontainers testcontainers-junit-jupiter test org.apache.maven.plugins maven-surefire-plugin -Xmx768m 1