Win a copy of Java 9 Revealed this week in the Features new in Java 9 forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

EntityManager returned as null in Java SE  RSS feed

 
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:

 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!