This repository was archived by the owner on Jan 20, 2023. It is now read-only.
File tree Expand file tree Collapse file tree 2 files changed +3
-3
lines changed
src/main/kotlin/com/mapk/krowmapper Expand file tree Collapse file tree 2 files changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -6,7 +6,7 @@ plugins {
6
6
}
7
7
8
8
group = " com.mapk"
9
- version = " 0.10 "
9
+ version = " 0.12 "
10
10
11
11
java {
12
12
sourceCompatibility = JavaVersion .VERSION_1_8
@@ -30,7 +30,7 @@ repositories {
30
30
dependencies {
31
31
implementation(" org.jetbrains.kotlin:kotlin-stdlib-jdk8" )
32
32
implementation(kotlin(" reflect" ))
33
- api(" com.github.ProjectMapK:Shared:0.13 " )
33
+ api(" com.github.ProjectMapK:Shared:0.14 " )
34
34
// 使うのはRowMapperのみなため他はexclude、またバージョンそのものは使う相手に合わせるためcompileOnly
35
35
compileOnly(group = " org.springframework" , name = " spring-jdbc" , version = " 5.2.4.RELEASE" ) {
36
36
exclude(module = " spring-beans" )
Original file line number Diff line number Diff line change @@ -23,7 +23,7 @@ class KRowMapper<T : Any> private constructor(
23
23
override fun mapRow (rs : ResultSet , rowNum : Int ): T {
24
24
val adaptor = function.getArgumentAdaptor()
25
25
26
- parameters.forEach { adaptor.putIfAbsent (it.name, it.getObject(rs)) }
26
+ parameters.forEach { adaptor.forcePut (it.name, it.getObject(rs)) }
27
27
28
28
return function.call(adaptor)
29
29
}
You can’t perform that action at this time.
0 commit comments