File tree Expand file tree Collapse file tree
src/main/java/com/commercetools/project/sync Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -210,7 +210,7 @@ private PagedQueryT getQueryWithTimeBoundedPredicate(
210210 @ Nonnull final ZonedDateTime lowerBound , @ Nonnull final ZonedDateTime upperBound ) {
211211 return (PagedQueryT )
212212 getQuery ()
213- .withWhere ("lastModifiedAt >= :lower AND lastModifiedAt <= :upper" )
213+ .addWhere ("lastModifiedAt >= :lower AND lastModifiedAt <= :upper" )
214214 .withPredicateVar ("lower" , lowerBound )
215215 .withPredicateVar ("upper" , upperBound );
216216 }
Original file line number Diff line number Diff line change 44
55import com .commercetools .project .sync .exception .CliException ;
66import com .fasterxml .jackson .databind .ObjectMapper ;
7+ import io .vrap .rmf .base .client .utils .json .JsonUtils ;
78import java .io .IOException ;
89
910// TODO: Migration needed
@@ -34,7 +35,7 @@ public void setWhere(String where) {
3435
3536 public static ProductSyncCustomRequest parseProductQueryParametersOption (String customRequest ) {
3637
37- final ObjectMapper objectMapper = new ObjectMapper ();
38+ final ObjectMapper objectMapper = JsonUtils . getConfiguredObjectMapper ();
3839
3940 final ProductSyncCustomRequest productSyncCustomRequest ;
4041 try {
You can’t perform that action at this time.
0 commit comments