OraMUC / table-api-generator

Oracle Table API Generator
MIT License
48 stars 14 forks source link

Tenant column filter is missing from generated views #49

Closed softinn72 closed 1 year ago

softinn72 commented 1 year ago

Good evening Ottmar, I finally found sometime to retest the latest version of the generator and it seems to me that the multitenant support in the latest version is still incomplete, since when specifying the p_tenant_column_mapping parameter, the filter condition is correctly added to the generated API package, but it's missing from the generated views (both DML view and one to one view).

After our discussion in ticket #31 , I think you mentioned the fact that the tenant filter condition was supposed to be present also in the generated views (see https://github.com/OraMUC/table-api-generator/issues/31#issuecomment-629657315).

Is it possible to add it?

Thanks, Paolo Marzucco

softinn72 commented 1 year ago

Also you mentioned that the tenant_id column should disappear from the generated objects and only handled internally (see https://github.com/OraMUC/table-api-generator/issues/31#issuecomment-629658354), but it seems this is not the case yet.