#115 - Mapping - Add support for @ElementCollection enhancement

Initial support - simple List.
This commit is contained in:
Rob Bygrave committed 2018-03-20 14:22:29 +13:00
1 parent c44931ea25
commit 74a9019535
79 files changed
+1891 -805

No files matched your search

@@ -72,7 +72,7 @@ public class DocStructure {
public <T> void prepareMany(BeanDescriptor<T> desc) {
Set<String> strings = embedded.keySet();
for (String prop : strings) {
BeanPropertyAssoc<?> embProp = (BeanPropertyAssoc<?>) desc.findBeanProperty(prop);
BeanPropertyAssoc<?> embProp = (BeanPropertyAssoc<?>) desc.findProperty(prop);
if (embProp.isMany()) {
prepare(prop, embProp);
}