Annotate your configuration class with @EnableJdbcTemplateRepositories
.
Example:
@EnableJdbcTemplateRepositories(basePackages = "your.repository.package")
@Configuration
public class ApplicationConfig {
}
This library uses NamedParameterJdbcTemplate. You should register its bean.
Example:
@Bean
public NamedParameterJdbcTemplate namedParameterJdbcTemplate() {
return new NamedParameterJdbcTemplate();
}
See LICENSE.txt.