• Post Reply Bookmark Topic Watch Topic
  • New Topic

EntityManager returned as null in Java SE

 
Abhijit Sarkar
Greenhorn
Posts: 20
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi,
I am getting a null EntityManager in Java SE. Following is my META-INF/persistence.xml. Please help.


I am creating EntityManager by the following code:

 
my overalls have superpowers - they repel people who think fashion is important. Tiny ad:
the new thread boost feature brings a LOT of attention to your favorite threads
https://coderanch.com/t/674455/Thread-Boost-feature
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!