![JAR search and dependency download from the Maven repository](/logo.png)
com.jchanghong.utils.autoconfig.db.mybatis.MyBatisPlugin.kt Maven / Gradle / Ivy
The newest version!
package com.jchanghong.utils.autoconfig.db.mybatis
import org.springframework.context.annotation.Bean
import org.springframework.context.annotation.Configuration
/**
\* Created with IntelliJ IDEA.
\* User: jiang
\* Date: 2020/1/5
\* Time: 14:57
\*/
@Configuration
open class MyBatisPlugin {
@Bean
open fun jsonHandler(): PGJsonTypeHandler {
return PGJsonTypeHandler()
}
// @Bean
// open fun executorPlugin(): ExecutorPlugin = ExecutorPlugin()
// @Bean
// open fun handlerPlugin(): ParameterHandlerPlugin = ParameterHandlerPlugin()
// @Bean
// open fun resultSetHandlerPlugin(): ResultSetHandlerPlugin = ResultSetHandlerPlugin()
@Bean
open fun statementHandlerPlugin(): StatementHandlerPlugin =
StatementHandlerPlugin()
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy