Mike Conley
05/09/2020, 1:41 PMException in thread "main" java.lang.IllegalArgumentException: Could not find column mapper for type 'T' of parameter 'parameter #1 value of fun <init>(kotlin.String, T): io.execvision.profile.db.StupidThing<T>' for constructor 'fun <init>(kotlin.String, T): io.execvision.profile.db.StupidThing<T>'
at org.jdbi.v3.core.kotlin.KotlinMapper$resolveConstructorParameterMapper$2.get(KotlinMapper.kt:197)
at org.jdbi.v3.core.kotlin.KotlinMapper$resolveConstructorParameterMapper$2.get(KotlinMapper.kt:51)
at java.util.Optional.orElseThrow(Optional.java:290)
at org.jdbi.v3.core.kotlin.KotlinMapper.resolveConstructorParameterMapper(KotlinMapper.kt:196)
at org.jdbi.v3.core.kotlin.KotlinMapper.specialize0(KotlinMapper.kt:98)
at org.jdbi.v3.core.kotlin.KotlinMapper.specialize(KotlinMapper.kt:73)
at org.jdbi.v3.core.result.ResultSetResultIterator.<init>(ResultSetResultIterator.java:38)
at org.jdbi.v3.core.result.ResultIterable.lambda$of$0(ResultIterable.java:54)
at org.jdbi.v3.core.result.ResultIterable.stream(ResultIterable.java:228)
at org.jdbi.v3.core.result.ResultIterable.collect(ResultIterable.java:284)
at org.jdbi.v3.sqlobject.statement.internal.ResultReturner$CollectedResultReturner.mappedResult(ResultReturner.java:267)
at org.jdbi.v3.sqlobject.statement.internal.SqlQueryHandler.lambda$configureReturner$0(SqlQueryHandler.java:54)
at
...
@MapTo
or something, but that also fails, so I'm kind of at a loss.