Skip to content

Database initialization

Tatjana Kopalova edited this page Jul 21, 2016 · 5 revisions

create empty database

Before you can start the initialization process you have to create an empty database.

For create the sql-scripts from the entities you have to run the maven profile 'create-db'. This will start the hibernate3-maven-plugin and will create the schema.ddl file from the persistence.xml file. The schema.dll will be used from the class AbstractDatabaseInitialization to create the database, this is done with the exec-maven-plugin.