From d6fd3827d2e54ab066b15c2da0834f7a3c42d58e Mon Sep 17 00:00:00 2001 From: Léo Geoffroy Date: Mon, 18 Dec 2023 11:25:08 +0100 Subject: SONAR-21259 Add Dao methods for issues_fixed table --- server/sonar-db-dao/src/main/java/org/sonar/db/DbClient.java | 7 +++++++ 1 file changed, 7 insertions(+) (limited to 'server/sonar-db-dao/src/main/java/org/sonar/db/DbClient.java') diff --git a/server/sonar-db-dao/src/main/java/org/sonar/db/DbClient.java b/server/sonar-db-dao/src/main/java/org/sonar/db/DbClient.java index 159beb83745..a670f4fbca1 100644 --- a/server/sonar-db-dao/src/main/java/org/sonar/db/DbClient.java +++ b/server/sonar-db-dao/src/main/java/org/sonar/db/DbClient.java @@ -46,6 +46,7 @@ import org.sonar.db.event.EventDao; import org.sonar.db.issue.AnticipatedTransitionDao; import org.sonar.db.issue.IssueChangeDao; import org.sonar.db.issue.IssueDao; +import org.sonar.db.issue.IssueFixedDao; import org.sonar.db.measure.LiveMeasureDao; import org.sonar.db.measure.MeasureDao; import org.sonar.db.metric.MetricDao; @@ -193,6 +194,7 @@ public class DbClient { private final GithubPermissionsMappingDao githubPermissionsMappingDao; private final RuleChangeDao ruleChangeDao; private final ProjectExportDao projectExportDao; + private final IssueFixedDao issueFixedDao; public DbClient(Database database, MyBatis myBatis, DBSessions dbSessions, Dao... daos) { this.database = database; @@ -285,6 +287,7 @@ public class DbClient { anticipatedTransitionDao = getDao(map, AnticipatedTransitionDao.class); ruleChangeDao = getDao(map, RuleChangeDao.class); projectExportDao = getDao(map, ProjectExportDao.class); + issueFixedDao = getDao(map, IssueFixedDao.class); } public DbSession openSession(boolean batch) { @@ -335,6 +338,10 @@ public class DbClient { return issueChangeDao; } + public IssueFixedDao issueFixedDao() { + return issueFixedDao; + } + public QualityProfileDao qualityProfileDao() { return qualityProfileDao; } -- cgit v1.2.3