Skip to content

Commit 98508c5

Browse files
committed
Polishing.
Refine tests. Extend comment for future-me. See #1900 Original pull request: #1903
1 parent 5204336 commit 98508c5

File tree

2 files changed

+170
-168
lines changed

2 files changed

+170
-168
lines changed

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

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -221,7 +221,8 @@ private JdbcValue writeValue(@Nullable Object value, TypeInformation<?> typeInfo
221221

222222
TypeInformation<?> actualType = typeInformation.getActualType();
223223

224-
// tuple-binding
224+
// allow tuple-binding for collection of byte arrays to be used as BINARY,
225+
// we do not want to convert to column arrays.
225226
if (actualType != null && actualType.getType().isArray() && !actualType.getType().equals(byte[].class)) {
226227

227228
TypeInformation<?> nestedElementType = actualType.getRequiredActualType();

0 commit comments

Comments
 (0)