Using a AbstractMultiTenantConnectionProvider give me some problems. In the case i had 1000 tenants and i want to add more without restarting the webserver, how can i use selectConnectionProvider easily?
@Override
protected ConnectionProvider selectConnectionProvider(String tenantIdentifier) {
if( "xml1".equals(tenantIdentifier) )
return xml1;
if( "xml2".equals(tenantIdentifier) )
return xml2;
return null;
}
As you can see in this example tenants are linked statically. How could i solve this issue. Thanks for any hint or solution! Cheers, t.
Its a follow-up question from here Implement an AbstractMultiTenantConnectionProvider