Toggle navigation
Home
org.sonar.db.DbTester to org.sonar.db.CoreDbTester
No. of Instances - 112
No. of Commits - 1
No. of Projects - {'sonarqube'}
Hierarchy/Composition: -
Primitive Info: -
NameSpace: Internal -> Internal
Mapping:
Add or Remove Method invocation
dbTester.selectFirst(dbTester.getSession(),format("select id as \"id\" from metrics where name='%s'",key))
to
dbTester.selectFirst(format("select id as \"id\" from metrics where name='%s'",key))
dbTester.selectFirst(dbTester.getSession(),format("select id as \"id\" from %s where name='%s'",TABLE_QUALITY_GATES,qualityGate))
to
dbTester.selectFirst(format("select id as \"id\" from %s where name='%s'",TABLE_QUALITY_GATES,qualityGate))
dbTester.selectFirst(dbTester.getSession(),format("select id as \"id\" from %s where qgate_id='%s' and metric_id='%s'",TABLE_QUALITY_GATE_CONDITIONS,qualityGateId,metricId))
to
dbTester.selectFirst(format("select id as \"id\" from %s where qgate_id='%s' and metric_id='%s'",TABLE_QUALITY_GATE_CONDITIONS,qualityGateId,metricId))
Update argument list (Method invocation)
select
to
select
selectFirst
to
selectFirst