Change visibility of JdbcRepositoryFactoryBean setters.
Setters of the FactoryBean are now public.
Closes
@@ -64,7 +64,7 @@ public class JdbcRepositoryFactoryBean<T extends Repository<S, ID>, S, ID extend
*
* @param repositoryInterface must not be {@literal null}.
*/
- protected JdbcRepositoryFactoryBean(Class<? extends T> repositoryInterface) {
+ public JdbcRepositoryFactoryBean(Class<? extends T> repositoryInterface) {
super(repositoryInterface);
}
@@ -96,7 +96,7 @@ public class JdbcRepositoryFactoryBean<T extends Repository<S, ID>, S, ID extend
}
@Autowired
- protected void setMappingContext(RelationalMappingContext mappingContext) {
+ public void setMappingContext(RelationalMappingContext mappingContext) {
Assert.notNull(mappingContext, "MappingContext must not be null");
@@ -105,7 +105,7 @@ public class JdbcRepositoryFactoryBean<T extends Repository<S, ID>, S, ID extend
}
@Autowired
- protected void setDialect(Dialect dialect) {
+ public void setDialect(Dialect dialect) {
Assert.notNull(dialect, "Dialect must not be null");
