You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@ofbiz.apache.org by "Benjamin Jugl (Jira)" <ji...@apache.org> on 2021/02/16 08:27:00 UTC

[jira] [Created] (OFBIZ-12178) ModelInduceFromDb does not show realtions.

Benjamin Jugl created OFBIZ-12178:
-------------------------------------

             Summary: ModelInduceFromDb does not show realtions.
                 Key: OFBIZ-12178
                 URL: https://issues.apache.org/jira/browse/OFBIZ-12178
             Project: OFBiz
          Issue Type: Bug
          Components: framework
    Affects Versions: Trunk, Release Branch 18.12
            Reporter: Benjamin Jugl


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.



--
This message was sent by Atlassian Jira
(v8.3.4#803005)