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

ModelInduceFromDb does not show entity relations.

Attach filesAttach ScreenshotAdd voteVotersWatch issueWatchersCreate sub-taskLinkCloneUpdate Comment AuthorReplace String in CommentUpdate Comment VisibilityDelete Comments
    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

          Activity

            People

            • Assignee:
              bjugl Benjamin Jugl
              Reporter:
              bjugl Benjamin Jugl

              Dates

              • Created:
                Updated:

                Issue deployment