Open in new window

back

DDL Generation for All Databases Supported by Hibernate

Exadel Studio comes with a DDL (Data Definition Language) generation feature. It allows you to easily generate table creation scripts based on your Hibernate mappings.

You can take advantage of this facility in the Diagram viewer of the mappings file editor by following these steps:

  1. In ORM Explorer right-click on the cfg.xml- files and select Generate DDL Wizard... from the context menu.

    generateDDL

  2. On the next screen, you can select your database Dialect, specify a delimiter .

    generateDDLOptions

    Here is the pop-up menu for selecting dialects.

    generateDDLOptionsDialect

After selecting Finish, a script will automatically be generated.

generateDDLGenSQL

back