将更多表中的数据联接到单个ADF表中 [英] Join data from more tables to single ADF table

查看:70
本文介绍了将更多表中的数据联接到单个ADF表中的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我正在使用Oracle 11g XE数据库在JDeveloper 12c中创建ADF应用程序. 我需要将更多表连接到一个ADF表.有可能的?我在Toad Data Modeler中创建了此模型:

模型是捷克语,但是没关系.这是一个简单的电影数据库.重要的是模型的概念. 我想要一个ADF表,其中将包含来自多个表的数据.

不幸的是我没有来. 我求求你.

解决方案

您没有说是否正在使用ADF BC.假设您在,我会在此处开始.

具体来说; 基于EO作为基础,可更新的EO创建新的VO.在向导的下一页中,选择其他表作为参考EO. 您将需要创建代表FK的关联才能完成这项工作.

解决方案

You don't say whether you are using ADF BC to not. Assuming you are, I would start here.

Specifically; Create new VO based on EO as the Base, up-dateable EO. In the next page of the Wizard, select the other tables as the reference EOs. You will want to have created Associations that represent FKs to make this work.

This may help too.

Or, create a view in MySql and base the View Object on that.

这篇关于将更多表中的数据联接到单个ADF表中的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆