diff --git a/spring-boot-autoconfigure/src/main/java/org/springframework/boot/autoconfigure/batch/BatchDatabaseInitializer.java b/spring-boot-autoconfigure/src/main/java/org/springframework/boot/autoconfigure/batch/BatchDatabaseInitializer.java index c43af60adb..31867abd88 100644 --- a/spring-boot-autoconfigure/src/main/java/org/springframework/boot/autoconfigure/batch/BatchDatabaseInitializer.java +++ b/spring-boot-autoconfigure/src/main/java/org/springframework/boot/autoconfigure/batch/BatchDatabaseInitializer.java @@ -68,6 +68,9 @@ public class BatchDatabaseInitializer implements EnvironmentAware { if ("postgres".equals(platform)) { platform = "postgresql"; } + if ("oracle".equals(platform)) { + platform = "oracle10g"; + } ResourceDatabasePopulator populator = new ResourceDatabasePopulator(); String schemaLocation = this.environment.getProperty("schema", DEFAULT_SCHEMA_LOCATION);