From: Simon Brandhof Date: Thu, 6 Dec 2012 15:31:30 +0000 (+0100) Subject: SONAR-3825 Fix compatibility with Oracle X-Git-Tag: 3.4~108 X-Git-Url: https://source.dussan.org/?a=commitdiff_plain;h=c3f19580e8a6dbed77f9462eee3cc4037306d02a;p=sonarqube.git SONAR-3825 Fix compatibility with Oracle --- diff --git a/sonar-core/src/main/resources/org/sonar/core/filter/CriterionMapper.xml b/sonar-core/src/main/resources/org/sonar/core/filter/CriterionMapper.xml deleted file mode 100644 index 028fa978ad9..00000000000 --- a/sonar-core/src/main/resources/org/sonar/core/filter/CriterionMapper.xml +++ /dev/null @@ -1,21 +0,0 @@ - - - - - - - INSERT INTO criteria (filter_id, family, kee, operator, value, text_value, variation) - VALUES (#{filterId}, #{family}, #{key}, #{operator}, #{value}, - #{textValue}, #{variation}) - - - - - - select criteria_seq.NEXTVAL from DUAL - - INSERT INTO criteria (id, filter_id, family, kee, operator, value, text_value, variation) - VALUES (#{id}, #{filterId}, #{family}, #{key}, #{operator}, #{value}, #{textValue}, #{variation}) - - - diff --git a/sonar-core/src/main/resources/org/sonar/core/filter/FilterColumnMapper.xml b/sonar-core/src/main/resources/org/sonar/core/filter/FilterColumnMapper.xml deleted file mode 100644 index 6f55eee3a1e..00000000000 --- a/sonar-core/src/main/resources/org/sonar/core/filter/FilterColumnMapper.xml +++ /dev/null @@ -1,22 +0,0 @@ - - - - - - - INSERT INTO filter_columns (filter_id, family, kee, sort_direction, order_index, variation) - VALUES (#{filterId}, #{family}, #{key}, #{sortDirection}, - #{orderIndex}, #{variation}) - - - - - - select filter_columns_seq.NEXTVAL from DUAL - - INSERT INTO filter_columns (id, filter_id, family, kee, sort_direction, order_index, variation) - VALUES (#{id}, #{filterId}, #{family}, #{key}, #{sortDirection}, - #{orderIndex}, #{variation}) - - - diff --git a/sonar-core/src/main/resources/org/sonar/core/filter/FilterMapper.xml b/sonar-core/src/main/resources/org/sonar/core/filter/FilterMapper.xml deleted file mode 100644 index 620db8c1f3f..00000000000 --- a/sonar-core/src/main/resources/org/sonar/core/filter/FilterMapper.xml +++ /dev/null @@ -1,27 +0,0 @@ - - - - - - - - - INSERT INTO filters (name, kee, user_id, shared, favourites, resource_id, default_view, page_size, period_index) - VALUES (#{name}, #{key}, #{userId}, #{shared}, #{favourites}, #{resourceId}, #{defaultView}, - #{pageSize}, #{periodIndex}) - - - - - - select filters_seq.NEXTVAL from DUAL - - INSERT INTO filters (id, name, kee, user_id, shared, favourites, resource_id, default_view, page_size, period_index) - VALUES (#{id}, #{name}, #{key}, #{userId}, #{shared}, #{favourites}, #{resourceId}, #{defaultView}, - #{pageSize}, #{periodIndex}) - - - diff --git a/sonar-core/src/main/resources/org/sonar/core/measure/MeasureFilterMapper.xml b/sonar-core/src/main/resources/org/sonar/core/measure/MeasureFilterMapper.xml index ea9823d3b17..713fc15f2e4 100644 --- a/sonar-core/src/main/resources/org/sonar/core/measure/MeasureFilterMapper.xml +++ b/sonar-core/src/main/resources/org/sonar/core/measure/MeasureFilterMapper.xml @@ -18,7 +18,7 @@ select measure_filters_seq.NEXTVAL from DUAL - INSERT INTO id, measure_filters (name, user_id, shared, description, data, created_at, updated_at) + INSERT INTO measure_filters (id, name, user_id, shared, description, data, created_at, updated_at) VALUES (#{id}, #{name}, #{userId}, #{shared}, #{description}, #{data}, #{createdAt}, #{updatedAt})