From: Sébastien Lesaint Date: Mon, 28 May 2018 09:37:25 +0000 (+0200) Subject: SONAR-10430 add missing jdbc types X-Git-Tag: 7.5~1123 X-Git-Url: https://source.dussan.org/?a=commitdiff_plain;h=aff59ce2552d4a9071f7bd9d08f1fb4365843b05;p=sonarqube.git SONAR-10430 add missing jdbc types --- 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}