Skip to content

Commit 61f45bc

Browse files
christophstroblschauder
authored andcommitted
Change visibility of JdbcRepositoryFactoryBean setters.
Setters of the FactoryBean are now public. Closes #1031
1 parent 599c508 commit 61f45bc

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

spring-data-jdbc/src/main/java/org/springframework/data/jdbc/repository/support/JdbcRepositoryFactoryBean.java

+3-3
Original file line numberDiff line numberDiff line change
@@ -64,7 +64,7 @@ public class JdbcRepositoryFactoryBean<T extends Repository<S, ID>, S, ID extend
6464
*
6565
* @param repositoryInterface must not be {@literal null}.
6666
*/
67-
protected JdbcRepositoryFactoryBean(Class<? extends T> repositoryInterface) {
67+
public JdbcRepositoryFactoryBean(Class<? extends T> repositoryInterface) {
6868
super(repositoryInterface);
6969
}
7070

@@ -96,7 +96,7 @@ protected RepositoryFactorySupport doCreateRepositoryFactory() {
9696
}
9797

9898
@Autowired
99-
protected void setMappingContext(RelationalMappingContext mappingContext) {
99+
public void setMappingContext(RelationalMappingContext mappingContext) {
100100

101101
Assert.notNull(mappingContext, "MappingContext must not be null");
102102

@@ -105,7 +105,7 @@ protected void setMappingContext(RelationalMappingContext mappingContext) {
105105
}
106106

107107
@Autowired
108-
protected void setDialect(Dialect dialect) {
108+
public void setDialect(Dialect dialect) {
109109

110110
Assert.notNull(dialect, "Dialect must not be null");
111111

0 commit comments

Comments
 (0)