This is the first step of the model generation wizard.
- Optional step: click Settings to set up a Java package where to create new entities, and default mappings for system attributes. For example, if all or most of the tables in your database contain
Modified
and ModifiedBy
columns, you can map them to Updatable.updateTs
and Updatable.updatedBy
attributes of created entities. In this case, you don't need to map them individually for each table. Use Exclude columns from mapping list to not map certain columns automatically for all tables.
- Click Show tables to display the list of tables that have no corresponding entities in the project's data model. You can use the Table name filter field to restrict the number of tables shown.
- Select tables that you want to map to data model. Some tables depend on others through foreign keys, so when you select a table, all tables that it depends on are also become selected. If you deselect a table, all dependent tables become deselected too.
You can click on the checkbox in the header to select or deselect all available tables.
- Click Next.