Commit e789840b authored by Dave Syer's avatar Dave Syer

Adjust db type if postgres

parent 4b2cea72
......@@ -20,5 +20,6 @@ manifest.yml
MANIFEST.MF
settings.xml
activemq-data
overridedb.*
*.iml
.idea
......@@ -59,6 +59,9 @@ public class BatchDatabaseInitializer implements EnvironmentAware {
if ("hsql".equals(platform)) {
platform = "hsqldb";
}
if ("postgres".equals(platform)) {
platform = "postgresql";
}
ResourceDatabasePopulator populator = new ResourceDatabasePopulator();
String schemaLocation = this.environment.getProperty("schema",
DEFAULT_SCHEMA_LOCATION);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment