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 {
66}
77
88group = " com.mapk"
9- version = " 0.10 "
9+ version = " 0.12 "
1010
1111java {
1212 sourceCompatibility = JavaVersion .VERSION_1_8
@@ -30,7 +30,7 @@ repositories {
3030dependencies {
3131 implementation(" org.jetbrains.kotlin:kotlin-stdlib-jdk8" )
3232 implementation(kotlin(" reflect" ))
33- api(" com.github.ProjectMapK:Shared:0.13 " )
33+ api(" com.github.ProjectMapK:Shared:0.14 " )
3434 // 使うのはRowMapperのみなため他はexclude、またバージョンそのものは使う相手に合わせるためcompileOnly
3535 compileOnly(group = " org.springframework" , name = " spring-jdbc" , version = " 5.2.4.RELEASE" ) {
3636 exclude(module = " spring-beans" )
Original file line number Diff line number Diff line change @@ -23,7 +23,7 @@ class KRowMapper<T : Any> private constructor(
2323 override fun mapRow (rs : ResultSet , rowNum : Int ): T {
2424 val adaptor = function.getArgumentAdaptor()
2525
26- parameters.forEach { adaptor.putIfAbsent (it.name, it.getObject(rs)) }
26+ parameters.forEach { adaptor.forcePut (it.name, it.getObject(rs)) }
2727
2828 return function.call(adaptor)
2929 }
You can’t perform that action at this time.
0 commit comments