3 ms·
Ideally setting the tenant context happens early during request authorization, is a required to get access to a database connection, and is configured outside t
by infogulch 6y ago
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.
- pvorb 6y agoYeah, I'm using Java, so in practice this means I extended my JDBC DataSource. On every call to getConnection() it sets the schema.