Skip to content

yokotaso/spring-data-jdbc-template

 
 

Repository files navigation

Spring Data Jdbc Template

How to Configure

Enable Repositories

Annotate your configuration class with @EnableJdbcTemplateRepositories.

Example:

@EnableJdbcTemplateRepositories(basePackages = "your.repository.package")
@Configuration
public class ApplicationConfig {
    
} 

Register NamedParameterJdbcOperations Bean

This library uses NamedParameterJdbcTemplate. You should register its bean.

Example:

@Bean
public NamedParameterJdbcTemplate namedParameterJdbcTemplate() {
  return new NamedParameterJdbcTemplate();
}

License

See LICENSE.txt.

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Java 100.0%