Set<String> collections = em.getCollections( entity );
userProperties.put( "email", "user" + i + "@test.com" ); entity[i] = em.create( "usertests", userProperties ); em.getCollections(entity[i]).contains("usertests");
Set<String> collections = em.getCollections( entity );
userProperties.put( "email", "user" + i + "@test.com" ); entity[i] = em.create( "usertests", userProperties ); em.getCollections(entity[i]).contains("usertests");