From: Kai Moritz Date: Sun, 7 Dec 2025 13:17:30 +0000 (+0100) Subject: WIP:experiment:mavensite X-Git-Tag: hugo--rebase--2025-12-17--20-43~2 X-Git-Url: https://juplo.de/gitweb/?a=commitdiff_plain;h=3c1b146dbfdf8f7d9b5de1e7c648fd01ad883471;p=website WIP:experiment:mavensite --- diff --git a/generated-2025-11-21-17-29-08/content/hibernate-maven-plugin.html b/generated-2025-11-21-17-29-08/content/hibernate-maven-plugin.html new file mode 100644 index 00000000..dc3ca2e8 --- /dev/null +++ b/generated-2025-11-21-17-29-08/content/hibernate-maven-plugin.html @@ -0,0 +1,108 @@ +--- +title: Hibernate Maven Plugin +--- +
+ + + + +

Hibernate Maven Plugin

+
+

A simple plugin for generating a database-schema from Hibernate-Mappings

+ +

+ The hibernate-maven-plugin is a plugin for generating a database-schema + from your Hibernate-Mappings and create or update your database + accordingly. + Its main usage is to automatically create and populate a test-database + for unit-tests in cooperation with the + dbunit-maven-plugin. +

+ +

+ The plugin was designed with three main goals in mind: +

+ +
    + +
  • It should be easy to use.
  • + +
  • It should be maximal unlikely, to erase a producation-database by accident.
  • + +
  • It should not slow down the development cycle.
  • +
+ +

+ To achieve the first goal, the convention-over-configuration paradigma + was applied and the plugin was stuffed with usefull logging-messages. + So, if in doubt, just turn on the debugging output with the mvn -X .... +

+ +

+ To achieve the second goal, the precedence in which the configuration + locations are consulted was layouted in a way that makes it possible, to + prevent overwrites of the wrong database by accident. +

+ +

+ Last but not least, in order to not slow down the development cycle, the + hibernate-maven-plugin only executes the generated SQL, if the mapping + or the configuration has changed (or if you force it to do so). +

+ +

+ For more information about the inspiration to write this tiny plugin, + read our blog-article about the hibernate-maven-plugin. +

+
+

Documentation

+ + +
+

Releases

+ + +
+ +