Guest User

Untitled

a guest
Jul 20th, 2018
74
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.45 KB | None | 0 0
  1. <persistence-unit name="pippoPU" transaction-type="JTA">
  2. <jta-data-source>jdbc/pippo</jta-data-source>
  3.  
  4. @ManagedBean(name = "xxxxxxx")
  5. @ViewScoped
  6. public class MioJSFBean implements Serializable {
  7. .....
  8. .....
  9.  
  10. @Resource
  11. private UserTransaction utx = null;
  12.  
  13. @PersistenceUnit(unitName = "pippoPU")
  14. private EntityManagerFactory emf = null;
  15.  
  16. ....
  17. ....
  18. }
  19.  
  20. [ERROR] The server cannot create an EntityManagerFactory factory
Add Comment
Please, Sign In to add comment