|
|
|
|
@ -22,7 +22,6 @@ import java.util.List;
@@ -22,7 +22,6 @@ import java.util.List;
|
|
|
|
|
import java.util.Map; |
|
|
|
|
import java.util.regex.Pattern; |
|
|
|
|
|
|
|
|
|
import org.jetbrains.annotations.NotNull; |
|
|
|
|
import org.springframework.data.domain.Sort; |
|
|
|
|
import org.springframework.data.mapping.MappingException; |
|
|
|
|
import org.springframework.data.mapping.PersistentPropertyPath; |
|
|
|
|
@ -51,8 +50,6 @@ import org.springframework.r2dbc.core.binding.MutableBindings;
@@ -51,8 +50,6 @@ import org.springframework.r2dbc.core.binding.MutableBindings;
|
|
|
|
|
import org.springframework.util.Assert; |
|
|
|
|
import org.springframework.util.ClassUtils; |
|
|
|
|
|
|
|
|
|
import static org.springframework.data.relational.core.sql.Expressions.*; |
|
|
|
|
|
|
|
|
|
/** |
|
|
|
|
* Maps {@link CriteriaDefinition} and {@link Sort} objects considering mapping metadata and dialect-specific |
|
|
|
|
* conversion. |
|
|
|
|
@ -105,9 +102,7 @@ public class QueryMapper {
@@ -105,9 +102,7 @@ public class QueryMapper {
|
|
|
|
|
* @param sort must not be {@literal null}. |
|
|
|
|
* @param entity related {@link RelationalPersistentEntity}, can be {@literal null}. |
|
|
|
|
* @return |
|
|
|
|
* @deprecated without replacement. |
|
|
|
|
*/ |
|
|
|
|
@Deprecated(since = "3.2", forRemoval = true) |
|
|
|
|
public Sort getMappedObject(Sort sort, @Nullable RelationalPersistentEntity<?> entity) { |
|
|
|
|
|
|
|
|
|
if (entity == null) { |
|
|
|
|
@ -151,7 +146,6 @@ public class QueryMapper {
@@ -151,7 +146,6 @@ public class QueryMapper {
|
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
return mappedOrder; |
|
|
|
|
|
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|