Adjust db type if postgres

pull/97/merge
Dave Syer 11 years ago
parent 4b2cea7267
commit e789840b3c

1
.gitignore vendored

@ -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);

Loading…
Cancel
Save