Skip to content
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,7 @@

import org.springframework.beans.factory.BeanFactory;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.beans.factory.annotation.Qualifier;
import org.springframework.context.ApplicationEventPublisher;
import org.springframework.context.ApplicationEventPublisherAware;
import org.springframework.data.jdbc.core.convert.DataAccessStrategy;
Expand Down Expand Up @@ -96,7 +97,7 @@ protected RepositoryFactorySupport doCreateRepositoryFactory() {
}

@Autowired
public void setMappingContext(RelationalMappingContext mappingContext) {
public void setMappingContext(@Qualifier("jdbcMappingContext") RelationalMappingContext mappingContext) {

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

Expand Down
4 changes: 3 additions & 1 deletion src/main/resources/notice.txt
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
Spring Data JDBC 2.3 GA (2021.1.0)
Spring Data JDBC 2.4 M2 (2021.2.0)
Copyright (c) [2017-2019] Pivotal Software, Inc.

This product is licensed to you under the Apache License, Version 2.0 (the "License").
Expand Down Expand Up @@ -29,6 +29,8 @@ conditions of the subcomponent's license, as noted in the LICENSE file.