@Test
public void test() {
EntityManager em = this.emf.createEntityManager();
Company company = factory.manufacturePojo(Company.class);
em.getTransaction().begin();
em.persist(company);
System.out.println("company.getId(): " + company.getId());
em.getTransaction().commit();
em.close();
Assert.assertNotEquals(0, company.getId());
}