From aff59ce2552d4a9071f7bd9d08f1fb4365843b05 Mon Sep 17 00:00:00 2001 From: =?utf8?q?S=C3=A9bastien=20Lesaint?= Date: Mon, 28 May 2018 11:37:25 +0200 Subject: [PATCH] SONAR-10430 add missing jdbc types --- .../org/sonar/db/source/FileSourceMapper.xml | 20 +++++++++++-------- 1 file changed, 12 insertions(+), 8 deletions(-) diff --git a/server/sonar-db-dao/src/main/resources/org/sonar/db/source/FileSourceMapper.xml b/server/sonar-db-dao/src/main/resources/org/sonar/db/source/FileSourceMapper.xml index 64f804a97c6..1fdac6a2b7f 100644 --- a/server/sonar-db-dao/src/main/resources/org/sonar/db/source/FileSourceMapper.xml +++ b/server/sonar-db-dao/src/main/resources/org/sonar/db/source/FileSourceMapper.xml @@ -23,8 +23,8 @@ from file_sources where - file_uuid = #{fileUuid} - and data_type = #{dataType} + file_uuid = #{fileUuid,jdbcType=VARCHAR} + and data_type = #{dataType,jdbcType=VARCHAR} @@ -111,7 +115,7 @@ src_hash = #{srcHash,jdbcType=VARCHAR}, revision = #{revision,jdbcType=VARCHAR} where - id = #{id} + id = #{id,jdbcType=INTEGER} -- 2.39.5