问题
I am creating ADF application in JDeveloper 12c with Oracle 11g XE database. I need join more tables to one ADF table. It is possible? I created this model in 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.
Unfortunately I did not come to that. I beg you for advice.
回答1:
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.
来源:https://stackoverflow.com/questions/21121365/join-data-from-more-tables-to-single-adf-table