SaaS application : true database-per-tenant approach


This post to resume expectations outlined in this discussion on database-per-tenant approach and support the corresponding ticket.

Actual solution proposed increases complexity of development and runtime, suffers too many limitations, and makes all tenants dependant on a central database during whole runtime.

We would like to have a way to choose CUBA main datastore based on login information in order to implement a true database-per-tenant approach for SaaS applications.