Skip to content

Commit f395aa6

Browse files
Merge pull request #527 from k163377/fix/526
Fixed a binary compatibility error when using a higher version of KotlinModule
2 parents 33a631f + 45e6c5e commit f395aa6

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

ktorm-jackson/src/main/kotlin/org/ktorm/jackson/JsonSqlType.kt

+2-2
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ package org.ktorm.jackson
1919
import com.fasterxml.jackson.databind.JavaType
2020
import com.fasterxml.jackson.databind.ObjectMapper
2121
import com.fasterxml.jackson.datatype.jsr310.JavaTimeModule
22-
import com.fasterxml.jackson.module.kotlin.KotlinModule
22+
import com.fasterxml.jackson.module.kotlin.kotlinModule
2323
import org.ktorm.schema.*
2424
import java.lang.reflect.InvocationTargetException
2525
import java.sql.PreparedStatement
@@ -31,7 +31,7 @@ import java.sql.Types
3131
*/
3232
public val sharedObjectMapper: ObjectMapper = ObjectMapper()
3333
.registerModule(KtormModule())
34-
.registerModule(KotlinModule())
34+
.registerModule(kotlinModule())
3535
.registerModule(JavaTimeModule())
3636

3737
/**

0 commit comments

Comments
 (0)