Hi, I was reading the jpa doc [1], and the recommendation to inject the @PersistenceUnit to create an EM to produce it, the @Transactional doesn't work, as the EM is BMT, the em.persist doesn't flush the entity to table.
Also every emf.createEM invocation will create a new EM, looks like the right approach to produce an EM for EE server is the no EE-Server section. 1. deltaspike.apache.org/documentation/jpa.html -- Claudio Miranda [email protected] http://www.claudius.com.br
