X-Git-Url: https://juplo.de/gitweb/?p=website;a=blobdiff_plain;f=dist%2Fhibernate4-maven-plugin-1.0%2Fexport-mojo.html;fp=dist%2Fhibernate4-maven-plugin-1.0%2Fexport-mojo.html;h=51df96626a4baf54465e7425379862fe13b52f19;hp=0000000000000000000000000000000000000000;hb=a53595184bd6e57bdc45292cc92c393c4e2dfe6e;hpb=c48c9ee0e9faa89a4c0a5323b367b9f5a6abe602 diff --git a/dist/hibernate4-maven-plugin-1.0/export-mojo.html b/dist/hibernate4-maven-plugin-1.0/export-mojo.html new file mode 100644 index 00000000..51df9662 --- /dev/null +++ b/dist/hibernate4-maven-plugin-1.0/export-mojo.html @@ -0,0 +1,307 @@ + + + + + + Hibernate 4 Maven Plugin - + hibernate4:export + + + + + + + + + +
+ +
+
+
+ + +

hibernate4:export

+

Full name:

+

de.juplo:hibernate4-maven-plugin:1.0:export

+

Description:

+
Goal which extracts the hibernate-mapping-configuration and exports +an according SQL-database-schema.
+

Attributes:

+
    +
  • Requires a Maven project to be executed.
  • +
  • Requires dependency resolution of artifacts in scope: runtime.
  • +
  • The goal is thread-safe and supports parallel builds.
  • +
  • Binds by default to the lifecycle phase: process-classes.
  • +
+

Optional Parameters

+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
NameTypeSinceDescription
delimiterString-Delimiter in output-file.
Default value is: ;.
driverClassNameString-SQL-Driver name.
User property is: hibernate.connection.driver_class.
formatboolean-Format output-file.
Default value is: true.
hibernateDialectString-Hibernate dialect.
User property is: hibernate.dialect.
hibernatePropertiesString-Hibernate configuration file.
Default value is: ${project.build.outputDirectory}/hibernate.properties.
outputDirectoryString-Directories to scan.
User property is: project.build.outputDirectory.
outputFileString-Output file.
Default value is: ${project.build.outputDirectory}/schema.sql.
passwordString-Database password
User property is: hibernate.connection.password.
skipboolean-Skip execution
User property is: maven.test.skip.
targetString-Target of execution: +
    +
  • NONE do nothing - just validate the +configuration
  • +
  • EXPORT create database +(DEFAULT!)
  • +
  • SCRIPT export schema to SQL-script
  • +
  • BOTH
  • +

Default value is: EXPORT.
typeString-Type of export. +
    +
  • NONE do nothing - just validate the +configuration
  • +
  • CREATE create database-schema
  • +
  • DROP drop database-schema
  • +
  • BOTH (DEFAULT!)
  • +

Default value is: BOTH.
urlString-Database URL.
User property is: hibernate.connection.url.
usernameString-Database username
User property is: hibernate.connection.username.
+
+

Parameter Details

+

delimiter:

+
Delimiter in output-file.
+
    +
  • Type: java.lang.String
  • +
  • Required: No
  • +
  • Default: ;
  • +

driverClassName:

+
SQL-Driver name.
+
    +
  • Type: java.lang.String
  • +
  • Required: No
  • +
  • User Property: hibernate.connection.driver_class
  • +

format:

+
Format output-file.
+
    +
  • Type: boolean
  • +
  • Required: No
  • +
  • Default: true
  • +

hibernateDialect:

+
Hibernate dialect.
+
    +
  • Type: java.lang.String
  • +
  • Required: No
  • +
  • User Property: hibernate.dialect
  • +

hibernateProperties:

+
Hibernate configuration file.
+
    +
  • Type: java.lang.String
  • +
  • Required: No
  • +
  • Default: ${project.build.outputDirectory}/hibernate.properties
  • +

outputDirectory:

+
Directories to scan.
+
    +
  • Type: java.lang.String
  • +
  • Required: No
  • +
  • User Property: project.build.outputDirectory
  • +

outputFile:

+
Output file.
+
    +
  • Type: java.lang.String
  • +
  • Required: No
  • +
  • Default: ${project.build.outputDirectory}/schema.sql
  • +

password:

+
Database password
+
    +
  • Type: java.lang.String
  • +
  • Required: No
  • +
  • User Property: hibernate.connection.password
  • +

skip:

+
Skip execution
+
    +
  • Type: boolean
  • +
  • Required: No
  • +
  • User Property: maven.test.skip
  • +

target:

+
Target of execution: +
    +
  • NONE do nothing - just validate the +configuration
  • +
  • EXPORT create database +(DEFAULT!)
  • +
  • SCRIPT export schema to SQL-script
  • +
  • BOTH
  • +
+
    +
  • Type: java.lang.String
  • +
  • Required: No
  • +
  • Default: EXPORT
  • +

type:

+
Type of export. +
    +
  • NONE do nothing - just validate the +configuration
  • +
  • CREATE create database-schema
  • +
  • DROP drop database-schema
  • +
  • BOTH (DEFAULT!)
  • +
+
    +
  • Type: java.lang.String
  • +
  • Required: No
  • +
  • Default: BOTH
  • +

url:

+
Database URL.
+
    +
  • Type: java.lang.String
  • +
  • Required: No
  • +
  • User Property: hibernate.connection.url
  • +

username:

+
Database username
+
    +
  • Type: java.lang.String
  • +
  • Required: No
  • +
  • User Property: hibernate.connection.username
  • +
+
+
+ + +
+
+
+
+
+ + +