I have problem with using EntityManager.persist(Object) method. Now when i get rid of other problems, by app work without Exception but object is not put in my data
EntityManager.persist(Object)
I was able to fix the same problem by adding the Entity to persistence.xml:
org.hibernate.ejb.HibernatePersistence com.test.domain.local.Entity