diff options
author | Belen Pruvost <belen.pruvost@sonarsource.com> | 2022-01-13 16:42:20 +0100 |
---|---|---|
committer | sonartech <sonartech@sonarsource.com> | 2022-01-21 20:03:22 +0000 |
commit | 573f47d57bc4cc52235a22066d81b6be7dee4f3c (patch) | |
tree | 59444eac11c580e23bf1c22e8a2f2d61428d879a /server/sonar-db-dao/src/main/java/org/sonar/db/MyBatis.java | |
parent | 3ec97d1a4368fdd3212d524aacfc73403ed709ce (diff) | |
download | sonarqube-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.java | 2 |
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); |