X-Git-Url: https://juplo.de/gitweb/?p=hibernate4-maven-plugin;a=blobdiff_plain;f=src%2Fsite%2Fxhtml%2Fconfiguration.xhtml;h=8360b8f873bf6425609566cbea6d0987fd5233d6;hp=bfaf6fece527682180c85c6ba7ddfb65949dfca8;hb=3541cf3742dd066b94365d351a3ca39a35e3d3c8;hpb=64900890db2575b7a28790c5e4d5f45083ee94b3 diff --git a/src/site/xhtml/configuration.xhtml b/src/site/xhtml/configuration.xhtml index bfaf6fec..8360b8f8 100644 --- a/src/site/xhtml/configuration.xhtml +++ b/src/site/xhtml/configuration.xhtml @@ -33,13 +33,14 @@ But be aware, that in this case the database-url, that is build in the application is the same that is used while testing, where the database is droped and recreated by the plugin. + Because of that, - So, you should never fire up this configuration on your production + you should never fire up this configuration on your production system, or your database might be erased!

- Hence, you should specify a different url for testing like in the + A better approach is, to specify a different url for testing like in the following snippet:

@@ -174,6 +175,8 @@
   

  1. hibernate.properties
  2. +
  3. hibernate.cfg.xml
  4. +
  5. persistence.xml
  6. maven-properties
  7. plugin-configuration
@@ -190,7 +193,7 @@ other configuration-method.

- If you realy need to overwrite plugin-configuration-values with + If you need to overwrite plugin-configuration-values with maven-properties, you can use maven-properties in the plugin-configuration: