JavaEE Local transaction already has 1 non-XA Resource: cannot add more resources. 问题: 在@Timeout 中使用entitymanager update entity 报错: [crayo… Read More
JPA like parameter 问题: String keyword=... String sql="select * from user where name like '%?%' "; Query q=emcrm.createNativeQuery(sql); q.setParameter(1, keyword); 12345 String keyword=...String sql="select * from user where name like '%?%' "; Query q=emcrm.createNativeQuery(sql); q.setParameter(1, keyword); 会查不到 解决: se… Read More
Netbeans8.1+ embedded glassfish4.1使用Arquillian JPA单元测试示例 完整示例下载: UT2 EJBContainer 不能加载glass-resources.xml , Mock… Read More