io.github.dengchen2020.jdbc.config.JdbcAutoConfiguration Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of dc-spring-boot-starter-jdbc Show documentation
Show all versions of dc-spring-boot-starter-jdbc Show documentation
jdbc扩展,基于spring-boot-starter-data-jdbc实现,提供CRUD通用操作,分页,内外连接查询,支持jpa注解,乐观锁,数据填充等功能
package io.github.dengchen2020.jdbc.config;
import io.github.dengchen2020.jdbc.event.listener.JdbcOverJpaEventListener;
import org.springframework.context.annotation.Bean;
import org.springframework.context.annotation.Configuration;
/**
* jdbc自动配置
* @author dengchen
* @since 2024/6/20
*/
@Configuration(proxyBeanMethods = false)
public class JdbcAutoConfiguration {
@Bean
public JdbcOverJpaEventListener jdbcEventListener(){
return new JdbcOverJpaEventListener();
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy