[
https://issues.apache.org/jira/browse/OFBIZ-12178?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17496339#comment-17496339
]
ASF subversion and git services commented on OFBIZ-12178:
---------------------------------------------------------
Commit 1ed929cfc6675ef4cece8941b6333a53c5e1b477 in ofbiz-framework's branch
refs/heads/release18.12 from Benjamin Jugl
[ https://gitbox.apache.org/repos/asf?p=ofbiz-framework.git;h=1ed929c ]
Fixed: Induction from DB does not represent relations properly.
(OFBIZ-12178)
> 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, Upcoming Branch
> Reporter: Benjamin Jugl
> Assignee: Michael Brohl
> Priority: Minor
> Fix For: 18.12.06
>
>
> 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.20.1#820001)