Study case using java and postgres multitenancy