aboutsummaryrefslogtreecommitdiffstats
path: root/server/sonar-db-dao/src/main/java/org/sonar/db/MyBatis.java
diff options
context:
space:
mode:
authorBelen Pruvost <belen.pruvost@sonarsource.com>2022-01-13 16:42:20 +0100
committersonartech <sonartech@sonarsource.com>2022-01-21 20:03:22 +0000
commit573f47d57bc4cc52235a22066d81b6be7dee4f3c (patch)
tree59444eac11c580e23bf1c22e8a2f2d61428d879a /server/sonar-db-dao/src/main/java/org/sonar/db/MyBatis.java
parent3ec97d1a4368fdd3212d524aacfc73403ed709ce (diff)
downloadsonarqube-573f47d57bc4cc52235a22066d81b6be7dee4f3c.tar.gz
sonarqube-573f47d57bc4cc52235a22066d81b6be7dee4f3c.zip
SONAR-14929 - Save a new issue as new on branch using reference branch
Diffstat (limited to 'server/sonar-db-dao/src/main/java/org/sonar/db/MyBatis.java')
-rw-r--r--server/sonar-db-dao/src/main/java/org/sonar/db/MyBatis.java2
1 files changed, 2 insertions, 0 deletions
diff --git a/server/sonar-db-dao/src/main/java/org/sonar/db/MyBatis.java b/server/sonar-db-dao/src/main/java/org/sonar/db/MyBatis.java
index 691ce4c137b..19916bb3e24 100644
--- a/server/sonar-db-dao/src/main/java/org/sonar/db/MyBatis.java
+++ b/server/sonar-db-dao/src/main/java/org/sonar/db/MyBatis.java
@@ -73,6 +73,7 @@ import org.sonar.db.issue.IssueChangeDto;
import org.sonar.db.issue.IssueChangeMapper;
import org.sonar.db.issue.IssueDto;
import org.sonar.db.issue.IssueMapper;
+import org.sonar.db.issue.NewCodeReferenceIssueDto;
import org.sonar.db.issue.PrIssueDto;
import org.sonar.db.mapping.ProjectMappingDto;
import org.sonar.db.mapping.ProjectMappingsMapper;
@@ -197,6 +198,7 @@ public class MyBatis implements Startable {
confBuilder.loadAlias("IssueChange", IssueChangeDto.class);
confBuilder.loadAlias("KeyLongValue", KeyLongValue.class);
confBuilder.loadAlias("Issue", IssueDto.class);
+ confBuilder.loadAlias("NewCodeReferenceIssue", NewCodeReferenceIssueDto.class);
confBuilder.loadAlias("Measure", MeasureDto.class);
confBuilder.loadAlias("NotificationQueue", NotificationQueueDto.class);
confBuilder.loadAlias("PermissionTemplateCharacteristic", PermissionTemplateCharacteristicDto.class);