Set<EnumObject> objs = Sets.newHashSet();
for (int ct = 0; ct < 10; ct++)
objs.add(new EnumObject());
ObjectStore os = ObjectStore.Factory.create();
ObjectStoreSession oss = os.beginSession();
oss.store(objs).now();
// will get new objects b/c we are using a new session
Set<EnumObject> result = Sets.newHashSet(os.beginSession().find(EnumObject.class).now());