diff --git a/hapi-fhir-docs/src/main/resources/ca/uhn/hapi/fhir/changelog/6_4_3/4636-fix-oracle-migration-problem.yaml b/hapi-fhir-docs/src/main/resources/ca/uhn/hapi/fhir/changelog/6_4_3/4636-fix-oracle-migration-problem.yaml new file mode 100644 index 00000000000..e0df692ada6 --- /dev/null +++ b/hapi-fhir-docs/src/main/resources/ca/uhn/hapi/fhir/changelog/6_4_3/4636-fix-oracle-migration-problem.yaml @@ -0,0 +1,4 @@ +--- +type: fix +issue: 4636 +title: "Fixed Oracle syntax problem with the fix that was previously provided via Pull Request 4630." diff --git a/hapi-fhir-jpaserver-base/src/main/java/ca/uhn/fhir/jpa/migrate/tasks/HapiFhirJpaMigrationTasks.java b/hapi-fhir-jpaserver-base/src/main/java/ca/uhn/fhir/jpa/migrate/tasks/HapiFhirJpaMigrationTasks.java index 886a5d7d555..fe604adb88d 100644 --- a/hapi-fhir-jpaserver-base/src/main/java/ca/uhn/fhir/jpa/migrate/tasks/HapiFhirJpaMigrationTasks.java +++ b/hapi-fhir-jpaserver-base/src/main/java/ca/uhn/fhir/jpa/migrate/tasks/HapiFhirJpaMigrationTasks.java @@ -178,11 +178,11 @@ public class HapiFhirJpaMigrationTasks extends BaseMigrationTasks { version.executeRawSql("20230397.1", "update BT2_JOB_INSTANCE " + "set UPDATE_TIME = coalesce(end_time, start_time, create_time, TIMESTAMP '2023-01-01 00:00:00') " + - "where UPDATE_TIME is null;"); + "where UPDATE_TIME is null"); version.executeRawSql("20230397.2", "update bt2_work_chunk " + "set UPDATE_TIME = coalesce(end_time, start_time, create_time, TIMESTAMP '2023-01-01 00:00:00') " + - "where UPDATE_TIME is null;"); + "where UPDATE_TIME is null"); }