Skip to content

Commit 86f0140

Browse files
committed
Moved QueryMapper.
The use of QueryMapper caused dependency cycles. Original pull request #1195 See #1192
1 parent a6fb4df commit 86f0140

File tree

4 files changed

+4
-4
lines changed

4 files changed

+4
-4
lines changed

spring-data-jdbc/src/main/java/org/springframework/data/jdbc/repository/query/QueryMapper.java renamed to spring-data-jdbc/src/main/java/org/springframework/data/jdbc/core/convert/QueryMapper.java

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@
1313
* See the License for the specific language governing permissions and
1414
* limitations under the License.
1515
*/
16-
package org.springframework.data.jdbc.repository.query;
16+
package org.springframework.data.jdbc.core.convert;
1717

1818
import java.sql.JDBCType;
1919
import java.sql.SQLType;
@@ -25,7 +25,6 @@
2525
import java.util.Objects;
2626

2727
import org.springframework.data.domain.Sort;
28-
import org.springframework.data.jdbc.core.convert.JdbcConverter;
2928
import org.springframework.data.jdbc.core.mapping.JdbcValue;
3029
import org.springframework.data.jdbc.support.JdbcUtil;
3130
import org.springframework.data.mapping.PersistentPropertyAccessor;

spring-data-jdbc/src/main/java/org/springframework/data/jdbc/core/convert/SqlGenerator.java

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,6 @@
2222

2323
import org.springframework.data.domain.Pageable;
2424
import org.springframework.data.domain.Sort;
25-
import org.springframework.data.jdbc.repository.query.QueryMapper;
2625
import org.springframework.data.jdbc.repository.support.SimpleJdbcRepository;
2726
import org.springframework.data.mapping.PersistentPropertyPath;
2827
import org.springframework.data.mapping.context.MappingContext;

spring-data-jdbc/src/main/java/org/springframework/data/jdbc/repository/query/JdbcQueryCreator.java

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -23,6 +23,7 @@
2323
import org.springframework.data.domain.Pageable;
2424
import org.springframework.data.domain.Sort;
2525
import org.springframework.data.jdbc.core.convert.JdbcConverter;
26+
import org.springframework.data.jdbc.core.convert.QueryMapper;
2627
import org.springframework.data.mapping.PersistentPropertyPath;
2728
import org.springframework.data.mapping.context.MappingContext;
2829
import org.springframework.data.relational.core.dialect.Dialect;
Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@
1313
* See the License for the specific language governing permissions and
1414
* limitations under the License.
1515
*/
16-
package org.springframework.data.jdbc.repository.query;
16+
package org.springframework.data.jdbc.core.convert;
1717

1818
import static org.assertj.core.api.Assertions.*;
1919
import static org.mockito.Mockito.*;
@@ -26,6 +26,7 @@
2626
import org.springframework.data.domain.Sort;
2727
import org.springframework.data.jdbc.core.convert.BasicJdbcConverter;
2828
import org.springframework.data.jdbc.core.convert.JdbcConverter;
29+
import org.springframework.data.jdbc.core.convert.QueryMapper;
2930
import org.springframework.data.jdbc.core.convert.RelationResolver;
3031
import org.springframework.data.jdbc.core.mapping.JdbcMappingContext;
3132
import org.springframework.data.relational.core.dialect.PostgresDialect;

0 commit comments

Comments
 (0)