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

ModelInduceFromDb does not show entity relations.

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Open
    • Priority: Minor
    • Resolution: Unresolved
    • Affects Version/s: Release Branch 18.12, Trunk
    • Fix Version/s: None
    • Component/s: framework
    • Labels:
      None

      Description

      As encountered in OFBIZ-6510, the ModelInduceFromDb does currently not include entity relations and foreign key constraints. Since they are an important part of the database model, we should fix that.

      I could track down the problem to an incomplete invocation of the ModelEntity through the constructor used in the DatabaseUtil.induceModelFromDb() Methods. This constructor does not initialize the Relations.

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                bjugl Benjamin Jugl
                Reporter:
                bjugl Benjamin Jugl
              • Votes:
                0 Vote for this issue
                Watchers:
                3 Start watching this issue

                Dates

                • Created:
                  Updated: