diff options
author | David Gageot <david@gageot.net> | 2012-07-11 09:23:38 +0200 |
---|---|---|
committer | David Gageot <david@gageot.net> | 2012-07-11 09:23:38 +0200 |
commit | 04d5626ca8bec412d2c92d9bafb499c87339e7eb (patch) | |
tree | b54ec1f190d3e705c92fc4d89f121a6e1e79466a /sonar-plugin-api/src | |
parent | 684b331ab2ffeafce877694b582a7c57c6d7de5b (diff) | |
download | sonarqube-04d5626ca8bec412d2c92d9bafb499c87339e7eb.tar.gz sonarqube-04d5626ca8bec412d2c92d9bafb499c87339e7eb.zip |
SONAR-3437 Fix Oracle Mapper
Diffstat (limited to 'sonar-plugin-api/src')
-rw-r--r-- | sonar-plugin-api/src/main/resources/org/sonar/api/database/model/MeasureMapper-oracle.xml | 2 | ||||
-rw-r--r-- | sonar-plugin-api/src/main/resources/org/sonar/api/database/model/MeasureMapper.xml | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/sonar-plugin-api/src/main/resources/org/sonar/api/database/model/MeasureMapper-oracle.xml b/sonar-plugin-api/src/main/resources/org/sonar/api/database/model/MeasureMapper-oracle.xml index ff9a77941aa..fa8838e35fa 100644 --- a/sonar-plugin-api/src/main/resources/org/sonar/api/database/model/MeasureMapper-oracle.xml +++ b/sonar-plugin-api/src/main/resources/org/sonar/api/database/model/MeasureMapper-oracle.xml @@ -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> diff --git a/sonar-plugin-api/src/main/resources/org/sonar/api/database/model/MeasureMapper.xml b/sonar-plugin-api/src/main/resources/org/sonar/api/database/model/MeasureMapper.xml index 9f155fdb172..b3c70bf3462 100644 --- a/sonar-plugin-api/src/main/resources/org/sonar/api/database/model/MeasureMapper.xml +++ b/sonar-plugin-api/src/main/resources/org/sonar/api/database/model/MeasureMapper.xml @@ -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> |