Uploaded image for project: 'OFBiz'
  1. OFBiz
  2. OFBIZ-6507

getTableNames() for ModelInduceFromDb should should support table type selections

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Open
    • Major
    • Resolution: Unresolved
    • Trunk, Upcoming Branch
    • None
    • framework
    • None

    Description

      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.

      Attachments

        Issue Links

          Activity

            People

              Unassigned Unassigned
              ofbizzer Christian Carlow
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

                Created:
                Updated: