Skip to content

Commit 73bf92a

Browse files
committed
fix: use RelationalPersistentProperty.getName()
instead of RelationalPersistentProperty.getColumnName().getReference() Signed-off-by: Artemiy Chereshnevvv <[email protected]>
1 parent 6af9fe9 commit 73bf92a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

spring-data-jdbc/src/main/java/org/springframework/data/jdbc/repository/query/StatementFactory.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -288,7 +288,7 @@ Criteria buildKeysetCriteria(List<String> columns, List<Object> values, boolean
288288
String column = columns.get(0);
289289
RelationalPersistentProperty prop = entity.getPersistentProperty(column);
290290
if (prop != null)
291-
column = prop.getColumnName().getReference();
291+
column = prop.getName();
292292

293293
Object value = values.get(0);
294294

0 commit comments

Comments
 (0)