Open GoogleCodeExporter opened 9 years ago
Any updates on This, Scott?
Original comment by ahmetalp...@gmail.com
on 19 Dec 2011 at 11:14
It is better to store them as a List<FacebookFriend> and not an array for now.
There seems to be issue with getting the type correctly from the array.
Original comment by scotthernandez
on 6 Feb 2012 at 2:13
Good to know that, thanks. I think speed/memory overhead of the List will cause
much trouble than extra field in BSON document on large number of elements, in
my opinion.
I have another question. What are the exact class type of List instances that
are mapped back from the mongo documents. In other words, if I have a
List<FacebookFriend> field will it be LinkedList, ArrayList or what when
Morphia populated it? (assuming field type will be List, not ArrayList or
LinkedList etc.)
Original comment by ahmetalp...@gmail.com
on 6 Feb 2012 at 2:17
I get this same behaviour with Lists even if I declare the concreteClass.
Original comment by t...@kioos.com
on 20 Jun 2012 at 9:03
I found that datastore.save() will not store the classname for the embedded
collection but datastore.update() will. Any update on this issue?
Original comment by SeanZhou...@gmail.com
on 29 Aug 2012 at 11:58
I noticed the same thing as Sean.
Original comment by agiann...@kioos.com
on 6 Nov 2012 at 4:55
Original issue reported on code.google.com by
ahmetalp...@gmail.com
on 11 Dec 2011 at 9:49