Advertisement
Guest User

Untitled

a guest
Oct 29th, 2017
67
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.70 KB | None | 0 0
  1. /*
  2. * To change this license header, choose License Headers in Project Properties.
  3. * To change this template file, choose Tools | Templates
  4. * and open the template in the editor.
  5. */
  6. package kf;
  7.  
  8. import javax.persistence.EntityManager;
  9. import javax.persistence.EntityManagerFactory;
  10. import javax.persistence.Persistence;
  11.  
  12. /**
  13. *
  14. * @author Karol
  15. */
  16. public class NewMain {
  17.  
  18. /**
  19. * @param args the command line arguments
  20. */
  21. public static void main(String[] args) {
  22. EntityManagerFactory emf = Persistence.createEntityManagerFactory("xxx");
  23. EntityManager em = emf.createEntityManager();
  24. NewEntity test = new NewEntity();
  25.  
  26.  
  27. }
  28.  
  29. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement