File tree Expand file tree Collapse file tree 1 file changed +2
-3
lines changed
spring-data-relational/src/main/java/org/springframework/data/relational/core/mapping Expand file tree Collapse file tree 1 file changed +2
-3
lines changed Original file line number Diff line number Diff line change @@ -500,7 +500,7 @@ class ColumnInfos {
500
500
501
501
this .basePath = basePath ;
502
502
this .columnInfos = columnInfos ;
503
- this .longColumnInfos = new HashMap <>();
503
+ this .longColumnInfos = new TreeMap <>();
504
504
columnInfos .forEach ((ap , ci ) -> longColumnInfos .put (fullPath (ap ), ci ));
505
505
this .columnCache = new HashMap <>(columnInfos .size (), 1f );
506
506
}
@@ -553,8 +553,7 @@ public ColumnInfo any() {
553
553
*/
554
554
public List <Column > toColumnList (Table table ) {
555
555
556
- return columnCache .computeIfAbsent (table ,
557
- t -> toColumnList ((__ ,ci ) -> t .column (ci .name )));
556
+ return columnCache .computeIfAbsent (table , t -> toColumnList ((__ , ci ) -> t .column (ci .name )));
558
557
}
559
558
560
559
/**
You can’t perform that action at this time.
0 commit comments