satshil opened a new issue, #14478: URL: https://github.com/apache/grails-core/issues/14478
Scenario =================== Grails 3.1.10 gorm 6.0.0 jdk 1.8 Multitenant application with 3 tenants 1. default (masterdata) 2. test-one 3. test-two Classes with nature of inheritance 1. user (abstract base class) (tenant 2,3) 2. person (child of user) (tenant 2,3) 3. institute (child of user) (tenant 2,3) 4. employee (child of person) (tenant 2,3) 5. superEmployee (child of employee) (tenant 3) Issues ============ I found two issues. 1. 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 2. 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](https://github.com/grails/gorm-hibernate5/files/587676/test1.zip) -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: [email protected] For queries about this service, please contact Infrastructure at: [email protected]
