Closed GoogleCodeExporter closed 9 years ago
By default morphia doesn't save empty lists and won't replace the field if the
data being loaded is missing or empty.
It is null because you are not setting it on construction, or after.
That fix is not wanted; it works as it should. If you want it non-null, then
declare it as such:
class Conversation {
@Id private UUID id;
@Embedded List<UUID> participants = new ArrayList();
}
Original comment by scotthernandez
on 18 May 2011 at 8:25
Original issue reported on code.google.com by
m...@lewisworld.org
on 18 May 2011 at 7:50