Skip to content

Commit 08294b2

Browse files
rdegnanmp911de
authored andcommitted
#22 - Remove restriction on CollectionLike types.
EntityRowMapper now passes-thru values for Collection-like types such as array. Arrays are supported by Postgres. Original pull request: #22.
1 parent 0aa6232 commit 08294b2

File tree

1 file changed

+1
-4
lines changed

1 file changed

+1
-4
lines changed

src/main/java/org/springframework/data/r2dbc/function/convert/EntityRowMapper.java

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -66,10 +66,7 @@ public T apply(Row row, RowMetadata metadata) {
6666
continue;
6767
}
6868

69-
if (property.isCollectionLike()) {
70-
throw new UnsupportedOperationException();
71-
} else if (property.isMap()) {
72-
69+
if (property.isMap()) {
7370
throw new UnsupportedOperationException();
7471
} else {
7572
propertyAccessor.setProperty(property, readFrom(row, property, ""));

0 commit comments

Comments
 (0)