mirror of
https://github.com/ebean-orm/ebean.git
synced 2026-11-18 14:58:47 +00:00
Fix for #209 - refresh() ... does not refresh OneToMany or ManyToMany properties
This commit is contained in:
1 parent
d5d6ac675b
commit
6a6cff2236
27 files changed
+618
-727
No files matched your search
@@ -395,13 +395,6 @@ public class BeanPropertyAssocOne<T> extends BeanPropertyAssoc<T> {
|
||||
return getTargetDescriptor().createEntityBean();
|
||||
}
|
||||
|
||||
/**
|
||||
* Return an empty reference object.
|
||||
*/
|
||||
public Object createEmptyReference() {
|
||||
return targetDescriptor.createEntityBean();
|
||||
}
|
||||
|
||||
@Override
|
||||
public Object elGetReference(EntityBean bean) {
|
||||
Object value = getValueIntercept(bean);
|
||||
@@ -465,7 +458,7 @@ public class BeanPropertyAssocOne<T> extends BeanPropertyAssoc<T> {
|
||||
}
|
||||
}
|
||||
|
||||
return (ExportedProperty[]) list.toArray(new ExportedProperty[list.size()]);
|
||||
return list.toArray(new ExportedProperty[list.size()]);
|
||||
}
|
||||
|
||||
/**
|
||||
|
||||
Reference in new issue
Block a user