]> source.dussan.org Git - sonarqube.git/commitdiff
SONAR-3437 Fix Oracle Mapper
authorDavid Gageot <david@gageot.net>
Wed, 11 Jul 2012 07:23:38 +0000 (09:23 +0200)
committerDavid Gageot <david@gageot.net>
Wed, 11 Jul 2012 07:23:38 +0000 (09:23 +0200)
sonar-plugin-api/src/main/resources/org/sonar/api/database/model/MeasureMapper-oracle.xml
sonar-plugin-api/src/main/resources/org/sonar/api/database/model/MeasureMapper.xml

index ff9a77941aa22a921b89259970436bfd49df4f4b..fa8838e35fa5089d975ea8b9e240c7160aba1e9d 100644 (file)
@@ -18,7 +18,7 @@
     )
   </insert>
 
-  <insert id="insertData" parameterType="MeasureModel" useGeneratedKeys="true" keyProperty="id">
+  <insert id="insertData" parameterType="MeasureModel" useGeneratedKeys="true">
     INSERT INTO measure_data (id, measure_id, snapshot_id, data)
     VALUES (measure_data_seq.NEXTVAL, #{id}, #{snapshotId}, #{measureData.data})
   </insert>
index 9f155fdb17210ca1f9b6a98d9d51a2e1810435f8..b3c70bf3462c1782fad1021b4e91ce6bfd4668ad 100644 (file)
@@ -16,7 +16,7 @@
     )
   </insert>
   
-  <insert id="insertData" parameterType="MeasureModel" useGeneratedKeys="true" keyProperty="id">
+  <insert id="insertData" parameterType="MeasureModel" useGeneratedKeys="true">
     INSERT INTO measure_data (measure_id, snapshot_id, data)
     VALUES (#{id}, #{snapshotId}, #{measureData.data})
   </insert>