hibernate4:hbm2ddl
Full name:
de.smartics.maven.plugin:hibernate4-maven-plugin:0.2.0:hbm2ddl
Description:
Plugin for schema export to DDL.
Attributes:
- Requires a Maven project to be executed.
- Requires dependency resolution of artifacts in scope: compile+runtime.
- The goal is thread-safe and supports parallel builds.
- Since version: 1.0.
- Binds by default to the lifecycle phase: process-classes.
Optional Parameters
Name |
Type |
Since |
Description |
createOutputFile |
String |
1.0 |
The file to write the create schema script to. Default value is: ${project.build.directory}/hibernate/create.sql. |
delimiter |
String |
1.0 |
The SQL statement delimiter to use. Default value is: ;. |
dropOutputFile |
String |
1.0 |
The file to write the drop schema script to. Default value is: ${project.build.directory}/hibernate/drop.sql. |
namingStrategy |
String |
1.0 |
The naming strategy to be used when generating physical column and table names. This must be a complete class name that implements org.hibernate.cfg.NamingStrategy interface (like for example org.hibernate.cfg.ImprovedNamingStrategy).
|
unitName |
String |
1.0 |
The name of the persistence unit to export.
|
Parameter Details
createOutputFile:
The file to write the create schema script to.
- Type: java.lang.String
- Since: 1.0
- Required: No
- Default: ${project.build.directory}/hibernate/create.sql
delimiter:
The SQL statement delimiter to use.
- Type: java.lang.String
- Since: 1.0
- Required: No
- Default: ;
dropOutputFile:
The file to write the drop schema script to.
- Type: java.lang.String
- Since: 1.0
- Required: No
- Default: ${project.build.directory}/hibernate/drop.sql
namingStrategy:
The naming strategy to be used when generating physical column and table names. This must be a complete class name that implements
org.hibernate.cfg.NamingStrategy interface (like for example
org.hibernate.cfg.ImprovedNamingStrategy).
- Type: java.lang.String
- Since: 1.0
- Required: No
unitName:
The name of the persistence unit to export.
- Type: java.lang.String
- Since: 1.0
- Required: No