Skip to content

Commit

Permalink
spring-data-relational: drop removed method usage.
Browse files Browse the repository at this point in the history
  • Loading branch information
mshima authored Nov 23, 2024
1 parent d9a6582 commit 94c19df
Showing 1 changed file with 1 addition and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -224,9 +224,8 @@ public class EntityManager {
if (sortParameter != null && sortParameter.isSorted()) {
RelationalPersistentEntity<?> entity = getPersistentEntity(entityType);
if (entity != null) {
Sort sort = updateMapper.getMappedObject(sortParameter, entity);
selectFrom = selectFrom.orderBy(
createOrderByFields(Table.create(entity.getTableName()).as(EntityManager.ENTITY_ALIAS), sort)
createOrderByFields(Table.create(entity.getTableName()).as(EntityManager.ENTITY_ALIAS), sortParameter)
);
}
}
Expand Down

0 comments on commit 94c19df

Please sign in to comment.