jboss EntityManager不能注入的解决办法
1 try { InitialContext initialContext = new InitialContext(); EntityManagerFactory lookup = (EntityManagerFactory) initialContext.lookup("java:/EntityManagerFactories/myData"); entityManager = l
原创
2008-10-14 10:12:00 ·
1217 阅读 ·
0 评论