From 743ccf535a3a6faedd079593284f97f3c976203c Mon Sep 17 00:00:00 2001 From: Jeremy Long Date: Thu, 23 Mar 2023 06:14:46 -0400 Subject: [PATCH] fix: SQL Syntax for Oracle (#5590) --- .../main/resources/data/dbEcosystemCacheUpdates.sql | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/core/src/main/resources/data/dbEcosystemCacheUpdates.sql b/core/src/main/resources/data/dbEcosystemCacheUpdates.sql index 5501368ef3d..3eccee7fef9 100644 --- a/core/src/main/resources/data/dbEcosystemCacheUpdates.sql +++ b/core/src/main/resources/data/dbEcosystemCacheUpdates.sql @@ -1,6 +1,6 @@ -UPDATE cpeEcosystemCache set ecosystem='MULTIPLE' where vendor = 'apache' and product = 'hadoop' and ecosystem != 'MULTIPLE'; -UPDATE cpeEcosystemCache set ecosystem='MULTIPLE' where vendor = 'apache' and product = 'ranger' and ecosystem != 'MULTIPLE'; -UPDATE cpeEcosystemCache set ecosystem='NATIVE' where vendor = 'git' and product = 'git' and ecosystem != 'NATIVE'; -UPDATE cpeEcosystemCache set ecosystem='NATIVE' where vendor = 'python' and product = 'python' and ecosystem != 'NATIVE'; -UPDATE cpeEcosystemCache set ecosystem='NATIVE' where vendor = 'python_software_foundation' and product = 'python' and ecosystem != 'NATIVE'; -UPDATE cpeEcosystemCache set ecosystem='NATIVE' where vendor = 'python' and product = 'python' and ecosystem != 'NATIVE'; \ No newline at end of file +UPDATE cpeEcosystemCache set ecosystem='MULTIPLE' where vendor = 'apache' and product = 'hadoop' and ecosystem != 'MULTIPLE' +UPDATE cpeEcosystemCache set ecosystem='MULTIPLE' where vendor = 'apache' and product = 'ranger' and ecosystem != 'MULTIPLE' +UPDATE cpeEcosystemCache set ecosystem='NATIVE' where vendor = 'git' and product = 'git' and ecosystem != 'NATIVE' +UPDATE cpeEcosystemCache set ecosystem='NATIVE' where vendor = 'python' and product = 'python' and ecosystem != 'NATIVE' +UPDATE cpeEcosystemCache set ecosystem='NATIVE' where vendor = 'python_software_foundation' and product = 'python' and ecosystem != 'NATIVE' +UPDATE cpeEcosystemCache set ecosystem='NATIVE' where vendor = 'python' and product = 'python' and ecosystem != 'NATIVE' \ No newline at end of file