Adjust db type if postgres
This commit is contained in:
parent
4b2cea7267
commit
e789840b3c
|
|
@ -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…
Reference in New Issue