summaryrefslogtreecommitdiffstats
path: root/sonar-core
diff options
context:
space:
mode:
authorDavid Gageot <david@gageot.net>2012-07-11 17:04:02 +0200
committerDavid Gageot <david@gageot.net>2012-07-11 17:38:40 +0200
commit8c1b42c30880a7a12af839d264f415bb49d4de9a (patch)
tree391e01fc2c3c90569d992a9f892abc9cd6390932 /sonar-core
parentcd2d985404cbe202d55f4024c3aa64bf1f186839 (diff)
downloadsonarqube-8c1b42c30880a7a12af839d264f415bb49d4de9a.tar.gz
sonarqube-8c1b42c30880a7a12af839d264f415bb49d4de9a.zip
SONAR-3437 merge Mappers
Diffstat (limited to 'sonar-core')
-rw-r--r--sonar-core/src/main/java/org/sonar/core/persistence/MyBatis.java1
1 files changed, 1 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 d5c23809301..65c2d425ba3 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
@@ -83,6 +83,7 @@ public class MyBatis implements BatchComponent, ServerComponent {
conf.setJdbcTypeForNull(JdbcType.NULL);
conf.getVariables().setProperty("_true", database.getDialect().getTrueSqlValue());
conf.getVariables().setProperty("_false", database.getDialect().getFalseSqlValue());
+ conf.setDatabaseId(database.getDialect().getId());
loadAlias(conf, "ActiveDashboard", ActiveDashboardDto.class);
loadAlias(conf, "Author", AuthorDto.class);