From f321e371a974280ed4bc48ae054ebadb83f9c7aa Mon Sep 17 00:00:00 2001 From: Evgeny Mandrikov Date: Mon, 31 Oct 2011 05:45:58 +0400 Subject: SONAR-2642 Support Oracle DB for cross-project CPD --- .../resources/org/sonar/persistence/model/DuplicationMapper-oracle.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'sonar-core/src/main') diff --git a/sonar-core/src/main/resources/org/sonar/persistence/model/DuplicationMapper-oracle.xml b/sonar-core/src/main/resources/org/sonar/persistence/model/DuplicationMapper-oracle.xml index 659281dac7f..b7f15344b49 100644 --- a/sonar-core/src/main/resources/org/sonar/persistence/model/DuplicationMapper-oracle.xml +++ b/sonar-core/src/main/resources/org/sonar/persistence/model/DuplicationMapper-oracle.xml @@ -18,7 +18,7 @@ INSERT INTO duplications_index (id, snapshot_id, project_snapshot_id, hash, index_in_file, start_line, end_line) - VALUES (select DUPLICATIONS_INDEX_SEQ.nextval, #{snapshotId}, #{projectSnapshotId}, #{hash}, #{indexInFile}, #{startLine}, #{endLine}) + VALUES (duplications_index_seq.NEXTVAL, #{snapshotId}, #{projectSnapshotId}, #{hash}, #{indexInFile}, #{startLine}, #{endLine}) -- cgit v1.2.3