Oracle ADF Business Components from Database Tables
Oracle ADF Business Components from Database Tables
JDeveloper provides a wizard that allows you to easily create a package of business domain components (entity objects, associations, and domains) from existing database objects and optionally to create a default package of data model components (view objects, view links, and an application module) from these newly generated business domain components.
The particular database objects that you choose in the wizard are important. Your selections will determine how the generated business components will be related. For instance, if two tables define a one-to-many relationship through their foreign key column, the business components generated by the wizard will also describe this relationship. In the business components terminology, a one-to-many relationship is also known as a master-detail relationship. In the example, the two tables will be used to display data in a master-detail form.
JDeveloper also provides business component wizards that let you edit any business components you create with this wizard, and add new business components later.