All Downloads are FREE. Search and download functionalities are using the official Maven repository.

jchanghong.autoconfig.db.mybatis.MyBatisPlugin.kt Maven / Gradle / Ivy

There is a newer version: 3.0.38
Show newest version
package jchanghong.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 - 2024 Weber Informatics LLC | Privacy Policy