I'm facing a really strange behavior, which I can't yet reproduce, but it happened 3-4 times already.
ObjectDB seems to clear some fields that are @ElementCollection Set<Integer> of my objects. They appear HashSet<Integer> in ObjectDB Explorer.
The only common thing I've seen is that this MAY happen when schema changes, even though nothing is changed in that Object's class.
Any ideas why would this happen and how could it be avoided?
Thanks (version 2.5.3 & Tomee & NetBeans)