You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@ofbiz.apache.org by "Christian Carlow (JIRA)" <ji...@apache.org> on 2015/06/16 14:44:00 UTC

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

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)