#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.
This commit is contained in:
committed by
Jens Schauder
parent
9e3601a06d
commit
f325f45fb6
@@ -66,10 +66,7 @@ public class EntityRowMapper<T> implements BiFunction<Row, RowMetadata, T> {
|
||||
continue;
|
||||
}
|
||||
|
||||
if (property.isCollectionLike()) {
|
||||
throw new UnsupportedOperationException();
|
||||
} else if (property.isMap()) {
|
||||
|
||||
if (property.isMap()) {
|
||||
throw new UnsupportedOperationException();
|
||||
} else {
|
||||
propertyAccessor.setProperty(property, readFrom(row, property, ""));
|
||||
|
||||
Reference in New Issue
Block a user