|
@@ -338,8 +338,8 @@ public class DefaultEntityQueryRepository implements EntityQueryRepository { |
|
@@ -338,8 +338,8 @@ public class DefaultEntityQueryRepository implements EntityQueryRepository { |
338
|
dataQuery = String.format("%s limit %s offset %s", dataQuery, pageLink.getPageSize(), startIndex);
|
338
|
dataQuery = String.format("%s limit %s offset %s", dataQuery, pageLink.getPageSize(), startIndex);
|
339
|
}
|
339
|
}
|
340
|
if (logSqlQueries) {
|
340
|
if (logSqlQueries) {
|
341
|
- log.error("QUERY: {}", dataQuery);
|
|
|
342
|
- Arrays.asList(ctx.getParameterNames()).forEach(param -> log.error("QUERY PARAM: {}->{}", param, ctx.getValue(param)));
|
341
|
+ log.info("QUERY: {}", dataQuery);
|
|
|
342
|
+ Arrays.asList(ctx.getParameterNames()).forEach(param -> log.info("QUERY PARAM: {}->{}", param, ctx.getValue(param)));
|
343
|
}
|
343
|
}
|
344
|
List<Map<String, Object>> rows = jdbcTemplate.queryForList(dataQuery, ctx);
|
344
|
List<Map<String, Object>> rows = jdbcTemplate.queryForList(dataQuery, ctx);
|
345
|
return EntityDataAdapter.createEntityData(pageLink, selectionMapping, rows, totalElements);
|
345
|
return EntityDataAdapter.createEntityData(pageLink, selectionMapping, rows, totalElements);
|