}
em.getTransaction().commit();
}
private Embedding createEmbedding(int i) {
Embedded embedded = new Embedded();
embedded.setAge(i);
embedded.setName("Embedded " + i);
Embedding embedding = new Embedding();
embedding.setId(i);
embedding.setMagic(i);
embedding.setEmbedded(embedded);
return embedding;