throw new MojoFailureException("Hibernate configuration is missing!");
}
+ getLog().info("Gathered hibernate-configuration (turn on debugging for details):");
+ for (Entry<Object,Object> entry : properties.entrySet())
+ getLog().info(" " + entry.getKey() + " = " + entry.getValue());
+
+ if (hibernateDialect == null)
+ throw new MojoFailureException("hibernate-dialect must be set!");
+
final ValidationConfiguration config = new ValidationConfiguration(hibernateDialect);
config.setProperties(properties);
return;
}
- getLog().info("Gathered hibernate-configuration (turn on debugging for details):");
- for (Entry<Object,Object> entry : properties.entrySet())
- getLog().info(" " + entry.getKey() + " = " + entry.getValue());
-
Environment.verifyProperties( properties );
ConfigurationHelper.resolvePlaceHolders( properties );
StandardServiceRegistryImpl registry =