Skip to content

Commit d47f1af

Browse files
committed
removed one use of fullPath
1 parent d499d55 commit d47f1af

File tree

2 files changed

+3
-3
lines changed
  • spring-data-jdbc/src/main/java/org/springframework/data/jdbc/core/convert
  • spring-data-relational/src/main/java/org/springframework/data/relational/core/mapping

2 files changed

+3
-3
lines changed

spring-data-jdbc/src/main/java/org/springframework/data/jdbc/core/convert/SqlGenerator.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -938,7 +938,7 @@ private List<Column> getIdColumns() {
938938

939939
// sqlcontext.getColumn (vs sqlContext.getTable
940940
return columnInfos
941-
.toColumnList((aggregatePath, columnInfo) -> sqlContext.getColumn(columnInfos.fullPath(aggregatePath)));
941+
.toColumnList((aggregatePath, columnInfo) -> sqlContext.getColumn(aggregatePath));
942942
}
943943

944944
private Column getVersionColumn() {

spring-data-relational/src/main/java/org/springframework/data/relational/core/mapping/AggregatePath.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -566,8 +566,8 @@ public List<Column> toColumnList(Table table) {
566566
*/
567567
public List<Column> toColumnList(BiFunction<AggregatePath, ColumnInfo, Column> mappingFunction) {
568568

569-
List<Column> result = new ArrayList<>(columnInfos.size());
570-
columnInfos.forEach((ap, ci) -> result.add(mappingFunction.apply(ap, ci)));
569+
List<Column> result = new ArrayList<>(longColumnInfos.size());
570+
longColumnInfos.forEach((ap, ci) -> result.add(mappingFunction.apply(ap, ci)));
571571
return result;
572572
}
573573

0 commit comments

Comments
 (0)