-
1 votesanswersviews
EntityManager使用Hibernate 4在Seam3中返回NULL
我需要你的帮助,使用带有Hibernate 4的jboss 7上的Seam3正确配置我的网络应用程序 . 当我尝试注入EntityManager并使用它时,entitymanager结果为NULL,但如果尝试通过Persistence.createEntityManagerFactory(“myPU”)获取EntityManager . createEntityManager()结果是正确的 . ...