When using a vendor-specific platform, you can create a DDL script from your persistent entities.
Note: The DDL script with DROP existing tables on the database and CREATE new tables, based on the entities in your project. |
To generate a DDL script:
Right-click the JPA project in the Project Explorer and select JPA Tools > Generate Tables from Entities.