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

com.github.jchanghong.autoconfig.db.mybatis.JchMyBatisPlugin.kt Maven / Gradle / Ivy

package com.github.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 JchMyBatisPlugin {
	@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