I am not sure if this is the best way. It would probably be better to use the seam entity converter, but here goes:
| InitialContext ctx = new InitialContext(); | String jndiEntityManagerFactory = "factoryDefinedInComponentsXml"; | EntityManagerFactory factory = (EntityManagerFactory) ctx | .lookup(jndiEntityManagerFactory); | EntityManager entityManager = factory.createEntityManager(); | Hope, it helps! View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4058639#4058639 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4058639 _______________________________________________ jboss-user mailing list [email protected] https://lists.jboss.org/mailman/listinfo/jboss-user
