in this thread there was already the question about multi-tenant setups but only with an generel answer.
What we need are multiple tenants (would be best if every tenant has its own file/db) but also the possibility of hierarchies. So If a tenant is parent of another parent, he can access and display the data of the child. Also the other way around if a parent tenant provides basic data the child tenant should load and display those. The hierarchiy can be edited, so the database must be selected dynamically like getDBForTenant(String tenantId).
Is this possible or what would be the best way to implement this with objectDB?
We are using spring boot, is there an example on how to access two different db files or how to distinct tenants in one file from one application?
Thanks and regards