Skip to content

The sorting property might be set as the property name. [DATAJDBC-530] #750

Closed
@spring-projects-issues

Description

@spring-projects-issues

MyeongHyeonLee opened DATAJDBC-530 and commented

In Page / Sort, the sorting  property is being set as the COLUMN name.

https://github.com/spring-projects/spring-data-jdbc/blob/6420205eedb0134b9078db74f618ca0a4415fe97/spring-data-jdbc/src/test/java/org/springframework/data/jdbc/core/convert/SqlGeneratorUnitTests.java#L180

 

I think it is appropriate to set it as the property name of Entity.

QueryMapper using entity  property for sort.

https://github.com/spring-projects/spring-data-jdbc/blob/d80614b4d8b0b4763206d3c905f75b11db7d1b62/spring-data-jdbc/src/test/java/org/springframework/data/jdbc/repository/query/QueryMapperUnitTests.java#L359

 

And Match with  Spring Data JPA,  Spring Data R2DBC


Affects: 2.0 RC2 (Neumann)

Referenced from: pull request #210

Metadata

Metadata

Assignees

Labels

in: coreIssues in core supporttype: bugA general bug

Type

No type

Projects

No projects

Relationships

None yet

Development

No branches or pull requests

Issue actions