You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I defined datasources mapping properties for the multi-tenant classes. datasources (['test-one','test-two']) defined.
Expected : Tables created only under test-one and test-two.
Actual : tables created under dataScource, teat-one and test-two
Child class superEmployee is not defined as multi-tenant. datasource 'test-two' defined.
Expected : table created only under tenant test-two
actual : table created under all tenants
Please find test application attached for your reference.
Scenario
Grails 3.1.10
gorm 6.0.0
jdk 1.8
Multitenant application with 3 tenants
Classes with nature of inheritance
Issues
I found two issues.
I defined datasources mapping properties for the multi-tenant classes. datasources (['test-one','test-two']) defined.
Expected : Tables created only under test-one and test-two.
Actual : tables created under dataScource, teat-one and test-two
Child class superEmployee is not defined as multi-tenant. datasource 'test-two' defined.
Expected : table created only under tenant test-two
actual : table created under all tenants
Please find test application attached for your reference.
test1.zip
The text was updated successfully, but these errors were encountered: