Skip to Content
0
Nov 15, 2022 at 04:22 PM

BTP Multi tenant Application on Kyma

251 Views

Hello

we are approaching multi tenant application following this blog and related mission.

We still use more subaccount for each subscriber, but while the original application make use of a single DB Hana Cloud instance, we want to use different instance of DB Hana Cloud. The idea is: application and logic is centralized and DB and data present in it, is in charge of the customer.

We enhance application adding more secrets and adapting the code for reading a secret-related-to-TenantID; reading different secret works correctly, but we're facing some troubles on the DB connection itself: it seems there is a sort of caching connection on underlying class framework (MultitenantConnectionProvider interface, implemented by MultiTenantProvider class in the mission) so that DB instance are not correctly addressed. My question is: what is the correct approach for this scenario?