Adjust db type if postgres

This commit is contained in:
Dave Syer 2013-10-23 08:02:26 -04:00
parent 4b2cea7267
commit e789840b3c
2 changed files with 4 additions and 0 deletions

1
.gitignore vendored
View File

@ -20,5 +20,6 @@ manifest.yml
MANIFEST.MF
settings.xml
activemq-data
overridedb.*
*.iml
.idea

View File

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