Context
You have an existing application which uses a database, and you want to modernize this application.
Solution
-
Reverse the existing database’s SQL schema to a table model. To do this, use the " Reverse SQL schema" command.
-
Transform the table model into a data model using the " Transform Table Model into Data Model" command.
-
Modify the data model in accordance with the requirements of the new application.
-
Generate the persistence model’s Java classes and the associated Hibernate mapping files using the " Hibernate & Java Generation" command.
-
Transform the data model into an SQL table model using the " Transform Data Model into Table Model" command.
-
Generate the SQL database script from this table model using the " Generate SQL script" command.