简体   繁体   English

将数据从更多表连接到单个ADF表

[英]Join data from more tables to single ADF table

I am creating ADF application in JDeveloper 12c with Oracle 11g XE database. 我正在使用Oracle 11g XE数据库在JDeveloper 12c中创建ADF应用程序。 I need join more tables to one ADF table. 我需要将更多表连接到一个ADF表。 It is possible? 有可能的? I created this model in Toad Data Modeler: 我在Toad Data Modeler中创建了这个模型: 在此输入图像描述

Model is in Czech language, but it doesn't matter. 模型是捷克语,但没关系。 This is a simple film database. 这是一个简单的电影数据库。 Important is the concept of the model. 重要的是模型的概念。 I want to have an ADF table that will contain data from multiple tables. 我想要一个包含多个表数据的ADF表。

在此输入图像描述

Unfortunately I did not come to that. 不幸的是我没有那样做。 I beg you for advice. 求求你的建议。

You don't say whether you are using ADF BC to not. 你没有说你是否使用ADF BC。 Assuming you are, I would start here . 假设你是,我会从这里开始。

Specifically; 特别; Create new VO based on EO as the Base, up-dateable EO. 基于EO创建新的VO作为基础,更新的EO。 In the next page of the Wizard, select the other tables as the reference EOs. 在向导的下一页中,选择其他表作为参考EO。 You will want to have created Associations that represent FKs to make this work. 您将希望创建表示FK的关联以使其工作。

This may help too. 也可能有所帮助。

Or, create a view in MySql and base the View Object on that. 或者,在MySql中创建一个视图,并在其上建立View对象。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM