[jira] [Created] (OFBIZ-6507) getTableNames() for ModelInduceFromDb should should support table type selections

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

[jira] [Created] (OFBIZ-6507) getTableNames() for ModelInduceFromDb should should support table type selections

Nicolas Malin (Jira)
Christian Carlow created OFBIZ-6507:
---------------------------------------

             Summary: getTableNames() for ModelInduceFromDb should should support table type selections
                 Key: OFBIZ-6507
                 URL: https://issues.apache.org/jira/browse/OFBIZ-6507
             Project: OFBiz
          Issue Type: Improvement
          Components: framework
    Affects Versions: Trunk
            Reporter: Christian Carlow


getTableNames() called by ModelInduceFromDb should support table type selection so that the default array {"TABLE", "VIEW", "ALIAS", "SYNONYM"}; can be overridden for getTables() otherwise otherwise the entitymodel generated gets littered with views.

Also, if the views are desirable in the generated entitymodel then it seems they should be <view-entity> rather than <entity> but it seems unlikely the relations would properly be generated.  This should be handled by a separate issue if it needs to be supported.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)