-Configuration Examples
+ ---
+ Configuration Examples
+ ---
+ Kai Moritz
+ ---
-* Configuration through a hibernate.properties-File
+Configuration through a hibernate.properties-File
The most simple way to configure the plugin is, to put all the
hibernate-configuration in a <<hibernate.properties>>-file on your
You never can overwrite them by accident when specifying a property on
the commandline or in your <<<settings.xml>>>.
-* Configuration through maven-properties
+Configuration through maven-properties
Alternatively, it is possible, to configure the plugin via maven-properties.
Each relevant configuration-option has a corresponding maven-property
<plugins>
---------------
-* Configuration through the plugin-configuration
+Configuration through the plugin-configuration
A third way for configuring the plugin is the plugin-configuration.
The relevant configuration-parameters are:
</plugin>
---------------
- There are some seldom used parameters, that can only be configured throug
- this method:
+ The parameter <<hibernateProperties>> (name of the hibernate-properties-file
+ to use, defaults to <<hibernate.properties>>) can only be configured through
+ this approach.
- * <<delimiter>> the delimiter used in the generated sql-script
-
- * <<format>> wether the generated sql-script is formatted, or not
-
- * <<hibernateProperties>> name of the hibernate-properties-file
-
- * <<outputFile>> name of the generated sql-script
-
- * <<target>> create database or generate sql-script or both
-
- * <<type>> create or drop the database or do both or nothing
- (just validate the annotation-configuration)
-
- For explanations, see the
+ For more explanations, see the
{{{./export-mojo.html} Documentation of the export-Mojo}}.
{Configuration-Method-Precedence}