4636 - Fixed Oracle syntax problem with fix provided via PR 4630. (#4637)

* 4636 - Fixed Oracle syntax problem with fix provided via PR 4630.

* 4636 - Added a changelog file for this fix.
This commit is contained in:
Kevin Dougan SmileCDR 2023-03-10 08:45:48 -05:00 committed by GitHub
parent b450729ff9
commit 5eca889296
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 6 additions and 2 deletions

View File

@ -0,0 +1,4 @@
---
type: fix
issue: 4636
title: "Fixed Oracle syntax problem with the fix that was previously provided via Pull Request 4630."

View File

@ -178,11 +178,11 @@ public class HapiFhirJpaMigrationTasks extends BaseMigrationTasks<VersionEnum> {
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");
}