[jira] [Commented] (OFBIZ-12178) ModelInduceFromDb does not show entity relations.

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

[jira] [Commented] (OFBIZ-12178) ModelInduceFromDb does not show entity relations.

Nicolas Malin (Jira)

    [ https://issues.apache.org/jira/browse/OFBIZ-12178?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17313755#comment-17313755 ]

Jacques Le Roux commented on OFBIZ-12178:
-----------------------------------------

Hi Benjamin,

I tried to backport, too much conflicts and work for me. I let you decide if you want to do it or close as is...

> ModelInduceFromDb does not show entity relations.
> -------------------------------------------------
>
>                 Key: OFBIZ-12178
>                 URL: https://issues.apache.org/jira/browse/OFBIZ-12178
>             Project: OFBiz
>          Issue Type: Bug
>          Components: framework
>    Affects Versions: Release Branch 18.12, Trunk
>            Reporter: Benjamin Jugl
>            Assignee: Benjamin Jugl
>            Priority: Minor
>
> 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)