Skip to content

Commit 245ad69

Browse files
committed
Adopt to API changes in Spring Data Relational.
Closes #661
1 parent 8705171 commit 245ad69

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/main/java/org/springframework/data/r2dbc/query/QueryMapper.java

+1-1
Original file line numberDiff line numberDiff line change
@@ -161,7 +161,7 @@ public Expression getMappedObject(Expression expression, @Nullable RelationalPer
161161

162162
Column column = (Column) expression;
163163
Field field = createPropertyField(entity, column.getName());
164-
Table table = column.getTable();
164+
TableLike table = column.getTable();
165165

166166
Column columnFromTable = table.column(field.getMappedColumnName());
167167
return column instanceof Aliased ? columnFromTable.as(((Aliased) column).getAlias()) : columnFromTable;

0 commit comments

Comments
 (0)