aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorlukasz-jarocki-sonarsource <lukasz.jarocki@sonarsource.com>2024-10-04 09:39:45 +0200
committersonartech <sonartech@sonarsource.com>2024-10-04 20:03:46 +0000
commit198c3712727c5485f44a511c15e35f39a68c703b (patch)
tree83dbd075c18596d1122aa6570b7d6cd92e10e0bc
parentefa3fa93f0ed751e160e61865a0428732f1bb0c3 (diff)
downloadsonarqube-198c3712727c5485f44a511c15e35f39a68c703b.tar.gz
sonarqube-198c3712727c5485f44a511c15e35f39a68c703b.zip
SONAR-23279 fixed an issue where the mapping for the jdbc column type was missing for Oracle
-rw-r--r--server/sonar-db-core/src/testFixtures/java/org/sonar/db/AbstractDbTester.java4
1 files changed, 3 insertions, 1 deletions
diff --git a/server/sonar-db-core/src/testFixtures/java/org/sonar/db/AbstractDbTester.java b/server/sonar-db-core/src/testFixtures/java/org/sonar/db/AbstractDbTester.java
index bb664813519..e728f3ca7ff 100644
--- a/server/sonar-db-core/src/testFixtures/java/org/sonar/db/AbstractDbTester.java
+++ b/server/sonar-db-core/src/testFixtures/java/org/sonar/db/AbstractDbTester.java
@@ -63,6 +63,7 @@ import static com.google.common.collect.Lists.asList;
import static java.sql.Types.BIGINT;
import static java.sql.Types.BIT;
import static java.sql.Types.BOOLEAN;
+import static java.sql.Types.DOUBLE;
import static java.sql.Types.INTEGER;
import static java.sql.Types.NUMERIC;
import static java.sql.Types.NVARCHAR;
@@ -83,7 +84,8 @@ public class AbstractDbTester<T extends TestDb> extends ExternalResource {
private static final Map<Integer, Integer> ORACLE_TYPE_SUBSTITUTION = Map.of(
BOOLEAN, NUMERIC,
BIGINT, NUMERIC,
- INTEGER, NUMERIC);
+ INTEGER, NUMERIC,
+ DOUBLE, NUMERIC);
protected final T db;