aboutsummaryrefslogtreecommitdiffstats
path: root/sonar-core/src/main
diff options
context:
space:
mode:
authorEvgeny Mandrikov <mandrikov@gmail.com>2011-10-31 05:45:58 +0400
committerEvgeny Mandrikov <mandrikov@gmail.com>2011-10-31 21:30:06 +0400
commitf321e371a974280ed4bc48ae054ebadb83f9c7aa (patch)
treeaaf28d08df0941bc68080ec2d349c6fb765c2040 /sonar-core/src/main
parentb4b0ff15e0b4390aab270d017ee764d528fb8b02 (diff)
downloadsonarqube-f321e371a974280ed4bc48ae054ebadb83f9c7aa.tar.gz
sonarqube-f321e371a974280ed4bc48ae054ebadb83f9c7aa.zip
SONAR-2642 Support Oracle DB for cross-project CPD
Diffstat (limited to 'sonar-core/src/main')
-rw-r--r--sonar-core/src/main/resources/org/sonar/persistence/model/DuplicationMapper-oracle.xml2
1 files changed, 1 insertions, 1 deletions
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 id="insert" parameterType="DuplicationUnit" keyColumn="id" useGeneratedKeys="true">
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})
</insert>
</mapper>