diff options
author | David Gageot <david@gageot.net> | 2012-07-16 10:10:58 +0200 |
---|---|---|
committer | David Gageot <david@gageot.net> | 2012-07-16 10:17:08 +0200 |
commit | 69ee1a8389e95db1eebee4e683eb2d11f40e3bdd (patch) | |
tree | b90cf3a38c0ba23f9387ceddb8345d1b0973362a /sonar-core | |
parent | 0eae375088361228504000339556fb54b5a995be (diff) | |
download | sonarqube-69ee1a8389e95db1eebee4e683eb2d11f40e3bdd.tar.gz sonarqube-69ee1a8389e95db1eebee4e683eb2d11f40e3bdd.zip |
Fix measure data not being evicted anymore
Diffstat (limited to 'sonar-core')
-rw-r--r-- | sonar-core/src/main/java/org/sonar/core/persistence/MyBatis.java | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/sonar-core/src/main/java/org/sonar/core/persistence/MyBatis.java b/sonar-core/src/main/java/org/sonar/core/persistence/MyBatis.java index 543f8f0f31a..e6a62e55356 100644 --- a/sonar-core/src/main/java/org/sonar/core/persistence/MyBatis.java +++ b/sonar-core/src/main/java/org/sonar/core/persistence/MyBatis.java @@ -19,6 +19,8 @@ */ package org.sonar.core.persistence; +import org.sonar.api.database.model.MeasureData; + import ch.qos.logback.classic.Level; import com.google.common.io.Closeables; import org.apache.ibatis.builder.xml.XMLMapperBuilder; @@ -138,6 +140,7 @@ public class MyBatis implements BatchComponent, ServerComponent { loadAlias(conf, "Widget", WidgetDto.class); loadAlias(conf, "WidgetProperty", WidgetPropertyDto.class); loadAlias(conf, "MeasureModel", MeasureModel.class); + loadAlias(conf, "MeasureData", MeasureData.class); Class<?>[] mappers = {ActiveDashboardMapper.class, AuthorMapper.class, FilterMapper.class, CriterionMapper.class, FilterColumnMapper.class, DashboardMapper.class, DependencyMapper.class, DuplicationMapper.class, LoadedTemplateMapper.class, PropertiesMapper.class, PurgeMapper.class, |