-
- All Implemented Interfaces:
-
org.jdbi.v3.core.spi.JdbiPlugin
public final class KotlinPlugin extends JdbiPlugin.SingletonInstalls Kotlin specific functionality.
<ul> <li>Kotlin inference interceptor that handles the {@link KotlinMapper} for registered types</li> <li>Kotlin mapper factory that creates implicit mappers for any data class</li> <ul>@property installKotlinMapperFactory If true, install the {@link KotlinMapperFactory}.
-
-
Constructor Summary
Constructors Constructor Description KotlinPlugin(Boolean installKotlinMapperFactory)
-
Method Summary
Modifier and Type Method Description UnitcustomizeJdbi(Jdbi jdbi)-
Methods inherited from class org.jdbi.v3.core.spi.JdbiPlugin.Singleton
equals, hashCode -
Methods inherited from class org.jdbi.v3.core.spi.JdbiPlugin
customizeConnection, customizeHandle -
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
-
Constructor Detail
-
KotlinPlugin
KotlinPlugin(Boolean installKotlinMapperFactory)
-
-
Method Detail
-
customizeJdbi
Unit customizeJdbi(Jdbi jdbi)
-
-
-
-