News for hackers. Stuff that matters.
Re:Multi-Tenant Architectures by infogulch on Sunday August 30, 2020 @05:42PM (#24326159)
Ideally setting the tenant context happens early during request authorization, is a required to get access to a database connection, and is configured outside the scope of any request business logic.
Re:Multi-Tenant Architectures by pvorb on Monday August 31, 2020 @02:29AM (#24328979)
Yeah, I'm using Java, so in practice this means I extended my JDBC DataSource. On every call to getConnection() it sets the schema.