From ac04c173a8fd50e903617094bfc5ea7f2dd83e07 Mon Sep 17 00:00:00 2001 From: Chad Van Wyhe Date: Mon, 7 Mar 2016 12:55:18 -0600 Subject: [PATCH] fixed trigger compilation and added version number --- .../src/main/resources/data/initialize_oracle.sql | 3 +++ 1 file changed, 3 insertions(+) diff --git a/dependency-check-core/src/main/resources/data/initialize_oracle.sql b/dependency-check-core/src/main/resources/data/initialize_oracle.sql index c8e93a1d9..4a1292674 100644 --- a/dependency-check-core/src/main/resources/data/initialize_oracle.sql +++ b/dependency-check-core/src/main/resources/data/initialize_oracle.sql @@ -97,6 +97,7 @@ FOR EACH ROW BEGIN :new.ID := VULNERABILITY_SEQ.nextval; END VULNERABILITY_TRG; +/ CREATE OR REPLACE TRIGGER CPEENTRY_TRG BEFORE INSERT @@ -106,4 +107,6 @@ FOR EACH ROW BEGIN :new.ID := CPEENTRY_SEQ.nextval; END CPEENTRY_TRG; +/ +INSERT INTO properties(id,value) VALUES ('version','3.0');